Interface LocationSupportOrBuilder

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

@Generated public interface LocationSupportOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getLocations(int index)
    Specific locations where the feature may be used.
    com.google.protobuf.ByteString
    getLocationsBytes(int index)
    Specific locations where the feature may be used.
    int
    Specific locations where the feature may be used.
    Specific locations where the feature may be used.
    The current scope for location on this feature.
    int
    The current scope for location on this feature.

    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

    • getRegionalizationScopeValue

      int getRegionalizationScopeValue()
       The current scope for location on this feature. This may expand over time.
       
      .google.privacy.dlp.v2.LocationSupport.RegionalizationScope regionalization_scope = 1;
      Returns:
      The enum numeric value on the wire for regionalizationScope.
    • getRegionalizationScope

      LocationSupport.RegionalizationScope getRegionalizationScope()
       The current scope for location on this feature. This may expand over time.
       
      .google.privacy.dlp.v2.LocationSupport.RegionalizationScope regionalization_scope = 1;
      Returns:
      The regionalizationScope.
    • getLocationsList

      List<String> getLocationsList()
       Specific locations where the feature may be used.
       Examples: us-central1, us, asia, global
       If scope is ANY_LOCATION, no regions will be listed.
       
      repeated string locations = 2;
      Returns:
      A list containing the locations.
    • getLocationsCount

      int getLocationsCount()
       Specific locations where the feature may be used.
       Examples: us-central1, us, asia, global
       If scope is ANY_LOCATION, no regions will be listed.
       
      repeated string locations = 2;
      Returns:
      The count of locations.
    • getLocations

      String getLocations(int index)
       Specific locations where the feature may be used.
       Examples: us-central1, us, asia, global
       If scope is ANY_LOCATION, no regions will be listed.
       
      repeated string locations = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The locations at the given index.
    • getLocationsBytes

      com.google.protobuf.ByteString getLocationsBytes(int index)
       Specific locations where the feature may be used.
       Examples: us-central1, us, asia, global
       If scope is ANY_LOCATION, no regions will be listed.
       
      repeated string locations = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the locations at the given index.