Interface RestrictionsOrBuilder

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

    public interface RestrictionsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasBrowserKeyRestrictions

        boolean hasBrowserKeyRestrictions()
         The HTTP referrers (websites) that are allowed to use the key.
         
        .google.api.apikeys.v2.BrowserKeyRestrictions browser_key_restrictions = 1;
        Returns:
        Whether the browserKeyRestrictions field is set.
      • getBrowserKeyRestrictions

        BrowserKeyRestrictions getBrowserKeyRestrictions()
         The HTTP referrers (websites) that are allowed to use the key.
         
        .google.api.apikeys.v2.BrowserKeyRestrictions browser_key_restrictions = 1;
        Returns:
        The browserKeyRestrictions.
      • getBrowserKeyRestrictionsOrBuilder

        BrowserKeyRestrictionsOrBuilder getBrowserKeyRestrictionsOrBuilder()
         The HTTP referrers (websites) that are allowed to use the key.
         
        .google.api.apikeys.v2.BrowserKeyRestrictions browser_key_restrictions = 1;
      • hasServerKeyRestrictions

        boolean hasServerKeyRestrictions()
         The IP addresses of callers that are allowed to use the key.
         
        .google.api.apikeys.v2.ServerKeyRestrictions server_key_restrictions = 2;
        Returns:
        Whether the serverKeyRestrictions field is set.
      • getServerKeyRestrictions

        ServerKeyRestrictions getServerKeyRestrictions()
         The IP addresses of callers that are allowed to use the key.
         
        .google.api.apikeys.v2.ServerKeyRestrictions server_key_restrictions = 2;
        Returns:
        The serverKeyRestrictions.
      • getServerKeyRestrictionsOrBuilder

        ServerKeyRestrictionsOrBuilder getServerKeyRestrictionsOrBuilder()
         The IP addresses of callers that are allowed to use the key.
         
        .google.api.apikeys.v2.ServerKeyRestrictions server_key_restrictions = 2;
      • hasAndroidKeyRestrictions

        boolean hasAndroidKeyRestrictions()
         The Android apps that are allowed to use the key.
         
        .google.api.apikeys.v2.AndroidKeyRestrictions android_key_restrictions = 3;
        Returns:
        Whether the androidKeyRestrictions field is set.
      • getAndroidKeyRestrictions

        AndroidKeyRestrictions getAndroidKeyRestrictions()
         The Android apps that are allowed to use the key.
         
        .google.api.apikeys.v2.AndroidKeyRestrictions android_key_restrictions = 3;
        Returns:
        The androidKeyRestrictions.
      • getAndroidKeyRestrictionsOrBuilder

        AndroidKeyRestrictionsOrBuilder getAndroidKeyRestrictionsOrBuilder()
         The Android apps that are allowed to use the key.
         
        .google.api.apikeys.v2.AndroidKeyRestrictions android_key_restrictions = 3;
      • hasIosKeyRestrictions

        boolean hasIosKeyRestrictions()
         The iOS apps that are allowed to use the key.
         
        .google.api.apikeys.v2.IosKeyRestrictions ios_key_restrictions = 4;
        Returns:
        Whether the iosKeyRestrictions field is set.
      • getIosKeyRestrictions

        IosKeyRestrictions getIosKeyRestrictions()
         The iOS apps that are allowed to use the key.
         
        .google.api.apikeys.v2.IosKeyRestrictions ios_key_restrictions = 4;
        Returns:
        The iosKeyRestrictions.
      • getIosKeyRestrictionsOrBuilder

        IosKeyRestrictionsOrBuilder getIosKeyRestrictionsOrBuilder()
         The iOS apps that are allowed to use the key.
         
        .google.api.apikeys.v2.IosKeyRestrictions ios_key_restrictions = 4;
      • getApiTargetsList

        List<ApiTarget> getApiTargetsList()
         A restriction for a specific service and optionally one or
         more specific methods. Requests are allowed if they
         match any of these restrictions. If no restrictions are
         specified, all targets are allowed.
         
        repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
      • getApiTargets

        ApiTarget getApiTargets​(int index)
         A restriction for a specific service and optionally one or
         more specific methods. Requests are allowed if they
         match any of these restrictions. If no restrictions are
         specified, all targets are allowed.
         
        repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
      • getApiTargetsCount

        int getApiTargetsCount()
         A restriction for a specific service and optionally one or
         more specific methods. Requests are allowed if they
         match any of these restrictions. If no restrictions are
         specified, all targets are allowed.
         
        repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
      • getApiTargetsOrBuilderList

        List<? extends ApiTargetOrBuilder> getApiTargetsOrBuilderList()
         A restriction for a specific service and optionally one or
         more specific methods. Requests are allowed if they
         match any of these restrictions. If no restrictions are
         specified, all targets are allowed.
         
        repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
      • getApiTargetsOrBuilder

        ApiTargetOrBuilder getApiTargetsOrBuilder​(int index)
         A restriction for a specific service and optionally one or
         more specific methods. Requests are allowed if they
         match any of these restrictions. If no restrictions are
         specified, all targets are allowed.
         
        repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;