Interface RegionPreferencesOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    RegionPreferences, RegionPreferences.Builder

    public interface RegionPreferencesOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getPreferredRegions​(int index)
      A list of preferred regions, ordered by the most preferred region first.
      com.google.protobuf.ByteString getPreferredRegionsBytes​(int index)
      A list of preferred regions, ordered by the most preferred region first.
      int getPreferredRegionsCount()
      A list of preferred regions, ordered by the most preferred region first.
      List<String> getPreferredRegionsList()
      A list of preferred regions, ordered by the most preferred region first.
      • 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 Detail

      • getPreferredRegionsList

        List<String> getPreferredRegionsList()
         A list of preferred regions,
         ordered by the most preferred region first.
         Set only valid Google Cloud region names.
         See https://cloud.google.com/compute/docs/regions-zones
         for available regions.
         
        repeated string preferred_regions = 1;
        Returns:
        A list containing the preferredRegions.
      • getPreferredRegionsCount

        int getPreferredRegionsCount()
         A list of preferred regions,
         ordered by the most preferred region first.
         Set only valid Google Cloud region names.
         See https://cloud.google.com/compute/docs/regions-zones
         for available regions.
         
        repeated string preferred_regions = 1;
        Returns:
        The count of preferredRegions.
      • getPreferredRegions

        String getPreferredRegions​(int index)
         A list of preferred regions,
         ordered by the most preferred region first.
         Set only valid Google Cloud region names.
         See https://cloud.google.com/compute/docs/regions-zones
         for available regions.
         
        repeated string preferred_regions = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The preferredRegions at the given index.
      • getPreferredRegionsBytes

        com.google.protobuf.ByteString getPreferredRegionsBytes​(int index)
         A list of preferred regions,
         ordered by the most preferred region first.
         Set only valid Google Cloud region names.
         See https://cloud.google.com/compute/docs/regions-zones
         for available regions.
         
        repeated string preferred_regions = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the preferredRegions at the given index.