Package com.google.cloud.compute.v1
Class PacketMirroring.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PacketMirroring.Builder>
com.google.cloud.compute.v1.PacketMirroring.Builder
- All Implemented Interfaces:
PacketMirroringOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PacketMirroring
public static final class PacketMirroring.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PacketMirroring.Builder>
implements PacketMirroringOrBuilder
Represents a Packet Mirroring resource. Packet Mirroring clones the traffic of specified instances in your Virtual Private Cloud (VPC) network and forwards it to a collector destination, such as an instance group of an internal TCP/UDP load balancer, for analysis or examination. For more information about setting up Packet Mirroring, seeUsing Packet Mirroring.Protobuf type
google.cloud.compute.v1.PacketMirroring-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The Forwarding Rule resource of typeloadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic.Output only.An optional description of this resource.Indicates whether or not this packet mirroring takes effect.Filter for mirrored traffic.clearId()Output only.Output only.PacketMirroring mirroredResourceInfos.Name of the resource; provided by the client when the resource is created.Specifies the mirrored VPC network.The priority of applying this configuration.[Output Only] URI of the region where the packetMirroring resides.Output only.The Forwarding Rule resource of typeloadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic.The Forwarding Rule resource of typeloadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic.The Forwarding Rule resource of typeloadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic.Output only.com.google.protobuf.ByteStringOutput only.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIndicates whether or not this packet mirroring takes effect.com.google.protobuf.ByteStringIndicates whether or not this packet mirroring takes effect.Filter for mirrored traffic.Filter for mirrored traffic.Filter for mirrored traffic.longgetId()Output only.getKind()Output only.com.google.protobuf.ByteStringOutput only.PacketMirroring mirroredResourceInfos.PacketMirroring mirroredResourceInfos.PacketMirroring mirroredResourceInfos.getName()Name of the resource; provided by the client when the resource is created.com.google.protobuf.ByteStringName of the resource; provided by the client when the resource is created.Specifies the mirrored VPC network.Specifies the mirrored VPC network.Specifies the mirrored VPC network.intThe priority of applying this configuration.[Output Only] URI of the region where the packetMirroring resides.com.google.protobuf.ByteString[Output Only] URI of the region where the packetMirroring resides.Output only.com.google.protobuf.ByteStringOutput only.booleanThe Forwarding Rule resource of typeloadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic.booleanOutput only.booleanAn optional description of this resource.booleanIndicates whether or not this packet mirroring takes effect.booleanFilter for mirrored traffic.booleanhasId()Output only.booleanhasKind()Output only.booleanPacketMirroring mirroredResourceInfos.booleanhasName()Name of the resource; provided by the client when the resource is created.booleanSpecifies the mirrored VPC network.booleanThe priority of applying this configuration.boolean[Output Only] URI of the region where the packetMirroring resides.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe Forwarding Rule resource of typeloadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic.mergeFilter(PacketMirroringFilter value) Filter for mirrored traffic.mergeFrom(PacketMirroring other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) PacketMirroring mirroredResourceInfos.Specifies the mirrored VPC network.The Forwarding Rule resource of typeloadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic.setCollectorIlb(PacketMirroringForwardingRuleInfo.Builder builderForValue) The Forwarding Rule resource of typeloadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic.setCreationTimestamp(String value) Output only.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.setDescription(String value) An optional description of this resource.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.Indicates whether or not this packet mirroring takes effect.setEnableBytes(com.google.protobuf.ByteString value) Indicates whether or not this packet mirroring takes effect.setFilter(PacketMirroringFilter value) Filter for mirrored traffic.setFilter(PacketMirroringFilter.Builder builderForValue) Filter for mirrored traffic.setId(long value) Output only.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.PacketMirroring mirroredResourceInfos.setMirroredResources(PacketMirroringMirroredResourceInfo.Builder builderForValue) PacketMirroring mirroredResourceInfos.Name of the resource; provided by the client when the resource is created.setNameBytes(com.google.protobuf.ByteString value) Name of the resource; provided by the client when the resource is created.Specifies the mirrored VPC network.setNetwork(PacketMirroringNetworkInfo.Builder builderForValue) Specifies the mirrored VPC network.setPriority(int value) The priority of applying this configuration.[Output Only] URI of the region where the packetMirroring resides.setRegionBytes(com.google.protobuf.ByteString value) [Output Only] URI of the region where the packetMirroring resides.setSelfLink(String value) Output only.setSelfLinkBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PacketMirroring.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PacketMirroring.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PacketMirroring.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PacketMirroring.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PacketMirroring.Builder>
-
mergeFrom
public PacketMirroring.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PacketMirroring.Builder>- Throws:
IOException
-
hasCollectorIlb
public boolean hasCollectorIlb()The Forwarding Rule resource of typeloadBalancingScheme=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;- Specified by:
hasCollectorIlbin interfacePacketMirroringOrBuilder- Returns:
- Whether the collectorIlb field is set.
-
getCollectorIlb
The Forwarding Rule resource of typeloadBalancingScheme=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;- Specified by:
getCollectorIlbin interfacePacketMirroringOrBuilder- Returns:
- The collectorIlb.
-
setCollectorIlb
The Forwarding Rule resource of typeloadBalancingScheme=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; -
setCollectorIlb
public PacketMirroring.Builder setCollectorIlb(PacketMirroringForwardingRuleInfo.Builder builderForValue) The Forwarding Rule resource of typeloadBalancingScheme=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; -
mergeCollectorIlb
The Forwarding Rule resource of typeloadBalancingScheme=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; -
clearCollectorIlb
The Forwarding Rule resource of typeloadBalancingScheme=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; -
getCollectorIlbBuilder
The Forwarding Rule resource of typeloadBalancingScheme=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; -
getCollectorIlbOrBuilder
The Forwarding Rule resource of typeloadBalancingScheme=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;- Specified by:
getCollectorIlbOrBuilderin interfacePacketMirroringOrBuilder
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfacePacketMirroringOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfacePacketMirroringOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfacePacketMirroringOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfacePacketMirroringOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfacePacketMirroringOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfacePacketMirroringOrBuilder- Returns:
- The bytes for description.
-
setDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasEnable
public 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;- Specified by:
hasEnablein interfacePacketMirroringOrBuilder- Returns:
- Whether the enable field is set.
-
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;- Specified by:
getEnablein interfacePacketMirroringOrBuilder- Returns:
- The enable.
-
getEnableBytes
public 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;- Specified by:
getEnableBytesin interfacePacketMirroringOrBuilder- Returns:
- The bytes for enable.
-
setEnable
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;- Parameters:
value- The enable to set.- Returns:
- This builder for chaining.
-
clearEnable
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:
- This builder for chaining.
-
setEnableBytes
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;- Parameters:
value- The bytes for enable to set.- Returns:
- This builder for chaining.
-
hasFilter
public boolean hasFilter()Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;- Specified by:
hasFilterin interfacePacketMirroringOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;- Specified by:
getFilterin interfacePacketMirroringOrBuilder- Returns:
- The filter.
-
setFilter
Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; -
setFilter
Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; -
mergeFilter
Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; -
clearFilter
Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; -
getFilterBuilder
Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; -
getFilterOrBuilder
Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;- Specified by:
getFilterOrBuilderin interfacePacketMirroringOrBuilder
-
hasId
public boolean hasId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfacePacketMirroringOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfacePacketMirroringOrBuilder- Returns:
- The id.
-
setId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of the resource. Alwayscompute#packetMirroring for packet mirrorings.
optional string kind = 3292052;- Specified by:
hasKindin interfacePacketMirroringOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of the resource. Alwayscompute#packetMirroring for packet mirrorings.
optional string kind = 3292052;- Specified by:
getKindin interfacePacketMirroringOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Alwayscompute#packetMirroring for packet mirrorings.
optional string kind = 3292052;- Specified by:
getKindBytesin interfacePacketMirroringOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [Output Only] Type of the resource. Alwayscompute#packetMirroring for packet mirrorings.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. [Output Only] Type of the resource. Alwayscompute#packetMirroring for packet mirrorings.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [Output Only] Type of the resource. Alwayscompute#packetMirroring for packet mirrorings.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasMirroredResources
public 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;- Specified by:
hasMirroredResourcesin interfacePacketMirroringOrBuilder- Returns:
- Whether the mirroredResources field is set.
-
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;- Specified by:
getMirroredResourcesin interfacePacketMirroringOrBuilder- Returns:
- The mirroredResources.
-
setMirroredResources
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; -
setMirroredResources
public PacketMirroring.Builder setMirroredResources(PacketMirroringMirroredResourceInfo.Builder builderForValue) 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; -
mergeMirroredResources
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; -
clearMirroredResources
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; -
getMirroredResourcesBuilder
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; -
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;- Specified by:
getMirroredResourcesOrBuilderin interfacePacketMirroringOrBuilder
-
hasName
public 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 withRFC1035. 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;- Specified by:
hasNamein interfacePacketMirroringOrBuilder- Returns:
- Whether the name field is set.
-
getName
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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;- Specified by:
getNamein interfacePacketMirroringOrBuilder- Returns:
- The name.
-
getNameBytes
public 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 withRFC1035. 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;- Specified by:
getNameBytesin interfacePacketMirroringOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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:
- This builder for chaining.
-
setNameBytes
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasNetwork
public 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;- Specified by:
hasNetworkin interfacePacketMirroringOrBuilder- Returns:
- Whether the network field is set.
-
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;- Specified by:
getNetworkin interfacePacketMirroringOrBuilder- Returns:
- The network.
-
setNetwork
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; -
setNetwork
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; -
mergeNetwork
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; -
clearNetwork
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; -
getNetworkBuilder
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; -
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;- Specified by:
getNetworkOrBuilderin interfacePacketMirroringOrBuilder
-
hasPriority
public 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;- Specified by:
hasPriorityin interfacePacketMirroringOrBuilder- Returns:
- Whether the priority field is set.
-
getPriority
public 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;- Specified by:
getPriorityin interfacePacketMirroringOrBuilder- Returns:
- The priority.
-
setPriority
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;- Parameters:
value- The priority to set.- Returns:
- This builder for chaining.
-
clearPriority
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:
- This builder for chaining.
-
hasRegion
public boolean hasRegion()[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;- Specified by:
hasRegionin interfacePacketMirroringOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;- Specified by:
getRegionin interfacePacketMirroringOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;- Specified by:
getRegionBytesin interfacePacketMirroringOrBuilder- Returns:
- The bytes for region.
-
setRegion
[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;- Returns:
- This builder for chaining.
-
setRegionBytes
[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfacePacketMirroringOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfacePacketMirroringOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfacePacketMirroringOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-