Class PacketMirroringMirroredResourceInfo (1.57.0)

public final class PacketMirroringMirroredResourceInfo extends GeneratedMessageV3 implements PacketMirroringMirroredResourceInfoOrBuilder

Protobuf type google.cloud.compute.v1.PacketMirroringMirroredResourceInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PacketMirroringMirroredResourceInfo

Static Fields

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
Type Description
int

SUBNETWORKS_FIELD_NUMBER

public static final int SUBNETWORKS_FIELD_NUMBER
Field Value
Type Description
int

TAGS_FIELD_NUMBER

public static final int TAGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PacketMirroringMirroredResourceInfo getDefaultInstance()
Returns
Type Description
PacketMirroringMirroredResourceInfo

getDescriptor()

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

newBuilder()

public static PacketMirroringMirroredResourceInfo.Builder newBuilder()
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

newBuilder(PacketMirroringMirroredResourceInfo prototype)

public static PacketMirroringMirroredResourceInfo.Builder newBuilder(PacketMirroringMirroredResourceInfo prototype)
Parameter
Name Description
prototype PacketMirroringMirroredResourceInfo
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

parseDelimitedFrom(InputStream input)

public static PacketMirroringMirroredResourceInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PacketMirroringMirroredResourceInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PacketMirroringMirroredResourceInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PacketMirroringMirroredResourceInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PacketMirroringMirroredResourceInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PacketMirroringMirroredResourceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PacketMirroringMirroredResourceInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PacketMirroringMirroredResourceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PacketMirroringMirroredResourceInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PacketMirroringMirroredResourceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PacketMirroringMirroredResourceInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PacketMirroringMirroredResourceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PacketMirroringMirroredResourceInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PacketMirroringMirroredResourceInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PacketMirroringMirroredResourceInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PacketMirroringMirroredResourceInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PacketMirroringMirroredResourceInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PacketMirroringMirroredResourceInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PacketMirroringMirroredResourceInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PacketMirroringMirroredResourceInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PacketMirroringMirroredResourceInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PacketMirroringMirroredResourceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PacketMirroringMirroredResourceInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PacketMirroringMirroredResourceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PacketMirroringMirroredResourceInfo> parser()
Returns
Type Description
Parser<PacketMirroringMirroredResourceInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PacketMirroringMirroredResourceInfo getDefaultInstanceForType()
Returns
Type Description
PacketMirroringMirroredResourceInfo

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

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>

getParserForType()

public Parser<PacketMirroringMirroredResourceInfo> getParserForType()
Returns
Type Description
Parser<PacketMirroringMirroredResourceInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
Name Description
index int
Returns
Type Description
PacketMirroringMirroredResourceInfoSubnetInfo

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PacketMirroringMirroredResourceInfo.Builder newBuilderForType()
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PacketMirroringMirroredResourceInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PacketMirroringMirroredResourceInfo.Builder toBuilder()
Returns
Type Description
PacketMirroringMirroredResourceInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException