public final class PacketMirroringMirroredResourceInfo extends GeneratedMessageV3 implements PacketMirroringMirroredResourceInfoOrBuilder
Protobuf type google.cloud.compute.v1.PacketMirroringMirroredResourceInfo
Fields
INSTANCES_FIELD_NUMBER
public static final int INSTANCES_FIELD_NUMBER
Field Value
SUBNETWORKS_FIELD_NUMBER
public static final int SUBNETWORKS_FIELD_NUMBER
Field Value
public static final int TAGS_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static PacketMirroringMirroredResourceInfo getDefaultInstance()
Returns
getDefaultInstanceForType()
public PacketMirroringMirroredResourceInfo getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
Returns
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
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
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
Returns
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> | |
getParserForType()
public Parser<PacketMirroringMirroredResourceInfo> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
Returns
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
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
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
Returns
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> | |
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.
|
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.
|
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.
|
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static PacketMirroringMirroredResourceInfo.Builder newBuilder()
Returns
newBuilder(PacketMirroringMirroredResourceInfo prototype)
public static PacketMirroringMirroredResourceInfo.Builder newBuilder(PacketMirroringMirroredResourceInfo prototype)
Parameter
Returns
newBuilderForType()
public PacketMirroringMirroredResourceInfo.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PacketMirroringMirroredResourceInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static PacketMirroringMirroredResourceInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PacketMirroringMirroredResourceInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PacketMirroringMirroredResourceInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PacketMirroringMirroredResourceInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PacketMirroringMirroredResourceInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PacketMirroringMirroredResourceInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PacketMirroringMirroredResourceInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PacketMirroringMirroredResourceInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PacketMirroringMirroredResourceInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PacketMirroringMirroredResourceInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PacketMirroringMirroredResourceInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PacketMirroringMirroredResourceInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PacketMirroringMirroredResourceInfo> parser()
Returns
toBuilder()
public PacketMirroringMirroredResourceInfo.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions