Class PacketMirroringMirroredResourceInfo.Builder (1.52.0)

public static final class PacketMirroringMirroredResourceInfo.Builder extends GeneratedMessageV3.Builder<PacketMirroringMirroredResourceInfo.Builder> implements PacketMirroringMirroredResourceInfoOrBuilder

Protobuf type google.cloud.compute.v1.PacketMirroringMirroredResourceInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllInstances(Iterable<? extends PacketMirroringMirroredResourceInfoInstanceInfo> values)

public PacketMirroringMirroredResourceInfo.Builder addAllInstances(Iterable<? extends PacketMirroringMirroredResourceInfoInstanceInfo> values)

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo>
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

addAllSubnetworks(Iterable<? extends PacketMirroringMirroredResourceInfoSubnetInfo> values)

public PacketMirroringMirroredResourceInfo.Builder addAllSubnetworks(Iterable<? extends PacketMirroringMirroredResourceInfoSubnetInfo> values)

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo>
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

addAllTags(Iterable<String> values)

public PacketMirroringMirroredResourceInfo.Builder addAllTags(Iterable<String> values)

A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.

repeated string tags = 3552281;

Parameter
Name Description
values Iterable<String>

The tags to add.

Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

This builder for chaining.

addInstances(PacketMirroringMirroredResourceInfoInstanceInfo value)

public PacketMirroringMirroredResourceInfo.Builder addInstances(PacketMirroringMirroredResourceInfoInstanceInfo value)

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Parameter
Name Description
value PacketMirroringMirroredResourceInfoInstanceInfo
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

addInstances(PacketMirroringMirroredResourceInfoInstanceInfo.Builder builderForValue)

public PacketMirroringMirroredResourceInfo.Builder addInstances(PacketMirroringMirroredResourceInfoInstanceInfo.Builder builderForValue)

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Parameter
Name Description
builderForValue PacketMirroringMirroredResourceInfoInstanceInfo.Builder
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

addInstances(int index, PacketMirroringMirroredResourceInfoInstanceInfo value)

public PacketMirroringMirroredResourceInfo.Builder addInstances(int index, PacketMirroringMirroredResourceInfoInstanceInfo value)

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Parameters
Name Description
index int
value PacketMirroringMirroredResourceInfoInstanceInfo
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

addInstances(int index, PacketMirroringMirroredResourceInfoInstanceInfo.Builder builderForValue)

public PacketMirroringMirroredResourceInfo.Builder addInstances(int index, PacketMirroringMirroredResourceInfoInstanceInfo.Builder builderForValue)

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Parameters
Name Description
index int
builderForValue PacketMirroringMirroredResourceInfoInstanceInfo.Builder
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

addInstancesBuilder()

public PacketMirroringMirroredResourceInfoInstanceInfo.Builder addInstancesBuilder()

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Returns
Type Description
PacketMirroringMirroredResourceInfoInstanceInfo.Builder

addInstancesBuilder(int index)

public PacketMirroringMirroredResourceInfoInstanceInfo.Builder addInstancesBuilder(int index)

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Parameter
Name Description
index int
Returns
Type Description
PacketMirroringMirroredResourceInfoInstanceInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PacketMirroringMirroredResourceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder
Overrides

addSubnetworks(PacketMirroringMirroredResourceInfoSubnetInfo value)

public PacketMirroringMirroredResourceInfo.Builder addSubnetworks(PacketMirroringMirroredResourceInfoSubnetInfo value)

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Parameter
Name Description
value PacketMirroringMirroredResourceInfoSubnetInfo
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

addSubnetworks(PacketMirroringMirroredResourceInfoSubnetInfo.Builder builderForValue)

public PacketMirroringMirroredResourceInfo.Builder addSubnetworks(PacketMirroringMirroredResourceInfoSubnetInfo.Builder builderForValue)

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Parameter
Name Description
builderForValue PacketMirroringMirroredResourceInfoSubnetInfo.Builder
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

addSubnetworks(int index, PacketMirroringMirroredResourceInfoSubnetInfo value)

public PacketMirroringMirroredResourceInfo.Builder addSubnetworks(int index, PacketMirroringMirroredResourceInfoSubnetInfo value)

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Parameters
Name Description
index int
value PacketMirroringMirroredResourceInfoSubnetInfo
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

addSubnetworks(int index, PacketMirroringMirroredResourceInfoSubnetInfo.Builder builderForValue)

public PacketMirroringMirroredResourceInfo.Builder addSubnetworks(int index, PacketMirroringMirroredResourceInfoSubnetInfo.Builder builderForValue)

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Parameters
Name Description
index int
builderForValue PacketMirroringMirroredResourceInfoSubnetInfo.Builder
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

addSubnetworksBuilder()

public PacketMirroringMirroredResourceInfoSubnetInfo.Builder addSubnetworksBuilder()

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Returns
Type Description
PacketMirroringMirroredResourceInfoSubnetInfo.Builder

addSubnetworksBuilder(int index)

public PacketMirroringMirroredResourceInfoSubnetInfo.Builder addSubnetworksBuilder(int index)

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Parameter
Name Description
index int
Returns
Type Description
PacketMirroringMirroredResourceInfoSubnetInfo.Builder

addTags(String value)

public PacketMirroringMirroredResourceInfo.Builder addTags(String value)

A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.

repeated string tags = 3552281;

Parameter
Name Description
value String

The tags to add.

Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

This builder for chaining.

addTagsBytes(ByteString value)

public PacketMirroringMirroredResourceInfo.Builder addTagsBytes(ByteString value)

A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.

repeated string tags = 3552281;

Parameter
Name Description
value ByteString

The bytes of the tags to add.

Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

This builder for chaining.

build()

public PacketMirroringMirroredResourceInfo build()
Returns
Type Description
PacketMirroringMirroredResourceInfo

buildPartial()

public PacketMirroringMirroredResourceInfo buildPartial()
Returns
Type Description
PacketMirroringMirroredResourceInfo

clear()

public PacketMirroringMirroredResourceInfo.Builder clear()
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PacketMirroringMirroredResourceInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder
Overrides

clearInstances()

public PacketMirroringMirroredResourceInfo.Builder clearInstances()

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PacketMirroringMirroredResourceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder
Overrides

clearSubnetworks()

public PacketMirroringMirroredResourceInfo.Builder clearSubnetworks()

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

clearTags()

public PacketMirroringMirroredResourceInfo.Builder clearTags()

A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.

repeated string tags = 3552281;

Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

This builder for chaining.

clone()

public PacketMirroringMirroredResourceInfo.Builder clone()
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder
Overrides

getDefaultInstanceForType()

public PacketMirroringMirroredResourceInfo getDefaultInstanceForType()
Returns
Type Description
PacketMirroringMirroredResourceInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstances(int index)

public PacketMirroringMirroredResourceInfoInstanceInfo getInstances(int index)

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Parameter
Name Description
index int
Returns
Type Description
PacketMirroringMirroredResourceInfoInstanceInfo

getInstancesBuilder(int index)

public PacketMirroringMirroredResourceInfoInstanceInfo.Builder getInstancesBuilder(int index)

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Parameter
Name Description
index int
Returns
Type Description
PacketMirroringMirroredResourceInfoInstanceInfo.Builder

getInstancesBuilderList()

public List<PacketMirroringMirroredResourceInfoInstanceInfo.Builder> getInstancesBuilderList()

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Returns
Type Description
List<Builder>

getInstancesCount()

public int getInstancesCount()

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Returns
Type Description
int

getInstancesList()

public List<PacketMirroringMirroredResourceInfoInstanceInfo> getInstancesList()

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Returns
Type Description
List<PacketMirroringMirroredResourceInfoInstanceInfo>

getInstancesOrBuilder(int index)

public PacketMirroringMirroredResourceInfoInstanceInfoOrBuilder getInstancesOrBuilder(int index)

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Parameter
Name Description
index int
Returns
Type Description
PacketMirroringMirroredResourceInfoInstanceInfoOrBuilder

getInstancesOrBuilderList()

public List<? extends PacketMirroringMirroredResourceInfoInstanceInfoOrBuilder> getInstancesOrBuilderList()

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfoOrBuilder>

getSubnetworks(int index)

public PacketMirroringMirroredResourceInfoSubnetInfo getSubnetworks(int index)

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Parameter
Name Description
index int
Returns
Type Description
PacketMirroringMirroredResourceInfoSubnetInfo

getSubnetworksBuilder(int index)

public PacketMirroringMirroredResourceInfoSubnetInfo.Builder getSubnetworksBuilder(int index)

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Parameter
Name Description
index int
Returns
Type Description
PacketMirroringMirroredResourceInfoSubnetInfo.Builder

getSubnetworksBuilderList()

public List<PacketMirroringMirroredResourceInfoSubnetInfo.Builder> getSubnetworksBuilderList()

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Returns
Type Description
List<Builder>

getSubnetworksCount()

public int getSubnetworksCount()

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Returns
Type Description
int

getSubnetworksList()

public List<PacketMirroringMirroredResourceInfoSubnetInfo> getSubnetworksList()

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Returns
Type Description
List<PacketMirroringMirroredResourceInfoSubnetInfo>

getSubnetworksOrBuilder(int index)

public PacketMirroringMirroredResourceInfoSubnetInfoOrBuilder getSubnetworksOrBuilder(int index)

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Parameter
Name Description
index int
Returns
Type Description
PacketMirroringMirroredResourceInfoSubnetInfoOrBuilder

getSubnetworksOrBuilderList()

public List<? extends PacketMirroringMirroredResourceInfoSubnetInfoOrBuilder> getSubnetworksOrBuilderList()

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfoOrBuilder>

getTags(int index)

public String getTags(int index)

A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.

repeated string tags = 3552281;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The tags at the given index.

getTagsBytes(int index)

public ByteString getTagsBytes(int index)

A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.

repeated string tags = 3552281;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the tags at the given index.

getTagsCount()

public int getTagsCount()

A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.

repeated string tags = 3552281;

Returns
Type Description
int

The count of tags.

getTagsList()

public ProtocolStringList getTagsList()

A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.

repeated string tags = 3552281;

Returns
Type Description
ProtocolStringList

A list containing the tags.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PacketMirroringMirroredResourceInfo other)

public PacketMirroringMirroredResourceInfo.Builder mergeFrom(PacketMirroringMirroredResourceInfo other)
Parameter
Name Description
other PacketMirroringMirroredResourceInfo
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PacketMirroringMirroredResourceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PacketMirroringMirroredResourceInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PacketMirroringMirroredResourceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder
Overrides

removeInstances(int index)

public PacketMirroringMirroredResourceInfo.Builder removeInstances(int index)

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Parameter
Name Description
index int
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

removeSubnetworks(int index)

public PacketMirroringMirroredResourceInfo.Builder removeSubnetworks(int index)

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Parameter
Name Description
index int
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PacketMirroringMirroredResourceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder
Overrides

setInstances(int index, PacketMirroringMirroredResourceInfoInstanceInfo value)

public PacketMirroringMirroredResourceInfo.Builder setInstances(int index, PacketMirroringMirroredResourceInfoInstanceInfo value)

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Parameters
Name Description
index int
value PacketMirroringMirroredResourceInfoInstanceInfo
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

setInstances(int index, PacketMirroringMirroredResourceInfoInstanceInfo.Builder builderForValue)

public PacketMirroringMirroredResourceInfo.Builder setInstances(int index, PacketMirroringMirroredResourceInfoInstanceInfo.Builder builderForValue)

A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo instances = 29097598;

Parameters
Name Description
index int
builderForValue PacketMirroringMirroredResourceInfoInstanceInfo.Builder
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PacketMirroringMirroredResourceInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder
Overrides

setSubnetworks(int index, PacketMirroringMirroredResourceInfoSubnetInfo value)

public PacketMirroringMirroredResourceInfo.Builder setSubnetworks(int index, PacketMirroringMirroredResourceInfoSubnetInfo value)

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Parameters
Name Description
index int
value PacketMirroringMirroredResourceInfoSubnetInfo
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

setSubnetworks(int index, PacketMirroringMirroredResourceInfoSubnetInfo.Builder builderForValue)

public PacketMirroringMirroredResourceInfo.Builder setSubnetworks(int index, PacketMirroringMirroredResourceInfoSubnetInfo.Builder builderForValue)

A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.

repeated .google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo subnetworks = 415853125;

Parameters
Name Description
index int
builderForValue PacketMirroringMirroredResourceInfoSubnetInfo.Builder
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

setTags(int index, String value)

public PacketMirroringMirroredResourceInfo.Builder setTags(int index, String value)

A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.

repeated string tags = 3552281;

Parameters
Name Description
index int

The index to set the value at.

value String

The tags to set.

Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PacketMirroringMirroredResourceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder
Overrides