public static interface PolicyBasedRoute.VirtualMachineOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getTags(int index)
public abstract String getTags(int index)Optional. A list of VM instance tags to which this policy based route applies to. VM instances that have ANY of tags specified here will install this PBR.
repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The tags at the given index. |
getTagsBytes(int index)
public abstract ByteString getTagsBytes(int index)Optional. A list of VM instance tags to which this policy based route applies to. VM instances that have ANY of tags specified here will install this PBR.
repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the tags at the given index. |
getTagsCount()
public abstract int getTagsCount()Optional. A list of VM instance tags to which this policy based route applies to. VM instances that have ANY of tags specified here will install this PBR.
repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| int | The count of tags. |
getTagsList()
public abstract List<String> getTagsList()Optional. A list of VM instance tags to which this policy based route applies to. VM instances that have ANY of tags specified here will install this PBR.
repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| List<String> | A list containing the tags. |