Class PacketMirroringMirroredResourceInfo.Builder (1.57.0)

See more code actions.
public static final class PacketMirroringMirroredResourceInfo.Builder extends GeneratedMessageV3.Builder<PacketMirroringMirroredResourceInfo.Builder> implements PacketMirroringMirroredResourceInfoOrBuilder

Protobuf type google.cloud.compute.v1.PacketMirroringMirroredResourceInfo

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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>

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>

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

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

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

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

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;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PacketMirroringMirroredResourceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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

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

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

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

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;

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

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()
Overrides

clearField(Descriptors.FieldDescriptor field)

public PacketMirroringMirroredResourceInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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;

clearOneof(Descriptors.OneofDescriptor oneof)

public PacketMirroringMirroredResourceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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;

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()
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

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

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;

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

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

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

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;

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PacketMirroringMirroredResourceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

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

setField(Descriptors.FieldDescriptor field, Object value)

public PacketMirroringMirroredResourceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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

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

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
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

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

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
Overrides