Interface BrowserKeyRestrictionsOrBuilder

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

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

    Modifier and Type
    Method
    Description
    A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.
    com.google.protobuf.ByteString
    A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.
    int
    A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.
    A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.

    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

    • getAllowedReferrersList

      List<String> getAllowedReferrersList()
       A list of regular expressions for the referrer URLs that are allowed
       to make API calls with this key.
       
      repeated string allowed_referrers = 1;
      Returns:
      A list containing the allowedReferrers.
    • getAllowedReferrersCount

      int getAllowedReferrersCount()
       A list of regular expressions for the referrer URLs that are allowed
       to make API calls with this key.
       
      repeated string allowed_referrers = 1;
      Returns:
      The count of allowedReferrers.
    • getAllowedReferrers

      String getAllowedReferrers(int index)
       A list of regular expressions for the referrer URLs that are allowed
       to make API calls with this key.
       
      repeated string allowed_referrers = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The allowedReferrers at the given index.
    • getAllowedReferrersBytes

      com.google.protobuf.ByteString getAllowedReferrersBytes(int index)
       A list of regular expressions for the referrer URLs that are allowed
       to make API calls with this key.
       
      repeated string allowed_referrers = 1;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the allowedReferrers at the given index.