Interface PolicyBasedRoute.VirtualMachineOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PolicyBasedRoute.VirtualMachine, PolicyBasedRoute.VirtualMachine.Builder
Enclosing class:
PolicyBasedRoute

public static interface PolicyBasedRoute.VirtualMachineOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getTags(int index)
    Optional.
    com.google.protobuf.ByteString
    getTagsBytes(int index)
    Optional.
    int
    Optional.
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getTagsList

      List<String> getTagsList()
       Optional. A list of VM instance tags that this policy-based route applies
       to. VM instances that have ANY of tags specified here installs this PBR.
       
      repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the tags.
    • getTagsCount

      int getTagsCount()
       Optional. A list of VM instance tags that this policy-based route applies
       to. VM instances that have ANY of tags specified here installs this PBR.
       
      repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of tags.
    • getTags

      String getTags(int index)
       Optional. A list of VM instance tags that this policy-based route applies
       to. VM instances that have ANY of tags specified here installs this PBR.
       
      repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      com.google.protobuf.ByteString getTagsBytes(int index)
       Optional. A list of VM instance tags that this policy-based route applies
       to. VM instances that have ANY of tags specified here installs this PBR.
       
      repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.