Class PacketMirroringMirroredResourceInfo (1.51.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
TypeDescription
int

SUBNETWORKS_FIELD_NUMBER

public static final int SUBNETWORKS_FIELD_NUMBER
Field Value
TypeDescription
int

TAGS_FIELD_NUMBER

public static final int TAGS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PacketMirroringMirroredResourceInfo getDefaultInstance()
Returns
TypeDescription
PacketMirroringMirroredResourceInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PacketMirroringMirroredResourceInfo.Builder newBuilder()
Returns
TypeDescription
PacketMirroringMirroredResourceInfo.Builder

newBuilder(PacketMirroringMirroredResourceInfo prototype)

public static PacketMirroringMirroredResourceInfo.Builder newBuilder(PacketMirroringMirroredResourceInfo prototype)
Parameter
NameDescription
prototypePacketMirroringMirroredResourceInfo
Returns
TypeDescription
PacketMirroringMirroredResourceInfo.Builder

parseDelimitedFrom(InputStream input)

public static PacketMirroringMirroredResourceInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PacketMirroringMirroredResourceInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PacketMirroringMirroredResourceInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PacketMirroringMirroredResourceInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PacketMirroringMirroredResourceInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PacketMirroringMirroredResourceInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PacketMirroringMirroredResourceInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PacketMirroringMirroredResourceInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PacketMirroringMirroredResourceInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PacketMirroringMirroredResourceInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PacketMirroringMirroredResourceInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PacketMirroringMirroredResourceInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PacketMirroringMirroredResourceInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PacketMirroringMirroredResourceInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PacketMirroringMirroredResourceInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PacketMirroringMirroredResourceInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PacketMirroringMirroredResourceInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PacketMirroringMirroredResourceInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PacketMirroringMirroredResourceInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PacketMirroringMirroredResourceInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PacketMirroringMirroredResourceInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PacketMirroringMirroredResourceInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PacketMirroringMirroredResourceInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PacketMirroringMirroredResourceInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PacketMirroringMirroredResourceInfo> parser()
Returns
TypeDescription
Parser<PacketMirroringMirroredResourceInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PacketMirroringMirroredResourceInfo getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfoOrBuilder>

getParserForType()

public Parser<PacketMirroringMirroredResourceInfo> getParserForType()
Returns
TypeDescription
Parser<PacketMirroringMirroredResourceInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the tags.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PacketMirroringMirroredResourceInfo.Builder newBuilderForType()
Returns
TypeDescription
PacketMirroringMirroredResourceInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PacketMirroringMirroredResourceInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PacketMirroringMirroredResourceInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PacketMirroringMirroredResourceInfo.Builder toBuilder()
Returns
TypeDescription
PacketMirroringMirroredResourceInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException