Class PacketMirroringMirroredResourceInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.PacketMirroringMirroredResourceInfo
All Implemented Interfaces:
PacketMirroringMirroredResourceInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class PacketMirroringMirroredResourceInfo extends com.google.protobuf.GeneratedMessage implements PacketMirroringMirroredResourceInfoOrBuilder
 
Protobuf type google.cloud.compute.v1.PacketMirroringMirroredResourceInfo
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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;
      Specified by:
      getInstancesList in interface PacketMirroringMirroredResourceInfoOrBuilder
    • 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;
      Specified by:
      getInstancesOrBuilderList in interface PacketMirroringMirroredResourceInfoOrBuilder
    • 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;
      Specified by:
      getInstancesCount in interface PacketMirroringMirroredResourceInfoOrBuilder
    • getInstances

      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;
      Specified by:
      getInstances in interface PacketMirroringMirroredResourceInfoOrBuilder
    • getInstancesOrBuilder

      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;
      Specified by:
      getInstancesOrBuilder in interface PacketMirroringMirroredResourceInfoOrBuilder
    • 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;
      Specified by:
      getSubnetworksList in interface PacketMirroringMirroredResourceInfoOrBuilder
    • 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;
      Specified by:
      getSubnetworksOrBuilderList in interface PacketMirroringMirroredResourceInfoOrBuilder
    • 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;
      Specified by:
      getSubnetworksCount in interface PacketMirroringMirroredResourceInfoOrBuilder
    • getSubnetworks

      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;
      Specified by:
      getSubnetworks in interface PacketMirroringMirroredResourceInfoOrBuilder
    • getSubnetworksOrBuilder

      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;
      Specified by:
      getSubnetworksOrBuilder in interface PacketMirroringMirroredResourceInfoOrBuilder
    • getTagsList

      public com.google.protobuf.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;
      Specified by:
      getTagsList in interface PacketMirroringMirroredResourceInfoOrBuilder
      Returns:
      A list containing the tags.
    • 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;
      Specified by:
      getTagsCount in interface PacketMirroringMirroredResourceInfoOrBuilder
      Returns:
      The count of tags.
    • getTags

      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;
      Specified by:
      getTags in interface PacketMirroringMirroredResourceInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      public com.google.protobuf.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;
      Specified by:
      getTagsBytes in interface PacketMirroringMirroredResourceInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static PacketMirroringMirroredResourceInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PacketMirroringMirroredResourceInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PacketMirroringMirroredResourceInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PacketMirroringMirroredResourceInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PacketMirroringMirroredResourceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PacketMirroringMirroredResourceInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PacketMirroringMirroredResourceInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PacketMirroringMirroredResourceInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PacketMirroringMirroredResourceInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PacketMirroringMirroredResourceInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PacketMirroringMirroredResourceInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PacketMirroringMirroredResourceInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PacketMirroringMirroredResourceInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PacketMirroringMirroredResourceInfo.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PacketMirroringMirroredResourceInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PacketMirroringMirroredResourceInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PacketMirroringMirroredResourceInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<PacketMirroringMirroredResourceInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PacketMirroringMirroredResourceInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder