Interface ServerKeyRestrictionsOrBuilder

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

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

    Modifier and Type
    Method
    Description
    getAllowedIps(int index)
    A list of the caller IP addresses that are allowed to make API calls with this key.
    com.google.protobuf.ByteString
    getAllowedIpsBytes(int index)
    A list of the caller IP addresses that are allowed to make API calls with this key.
    int
    A list of the caller IP addresses that are allowed to make API calls with this key.
    A list of the caller IP addresses 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

    • getAllowedIpsList

      List<String> getAllowedIpsList()
       A list of the caller IP addresses that are allowed to make API calls
       with this key.
       
      repeated string allowed_ips = 1;
      Returns:
      A list containing the allowedIps.
    • getAllowedIpsCount

      int getAllowedIpsCount()
       A list of the caller IP addresses that are allowed to make API calls
       with this key.
       
      repeated string allowed_ips = 1;
      Returns:
      The count of allowedIps.
    • getAllowedIps

      String getAllowedIps(int index)
       A list of the caller IP addresses that are allowed to make API calls
       with this key.
       
      repeated string allowed_ips = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The allowedIps at the given index.
    • getAllowedIpsBytes

      com.google.protobuf.ByteString getAllowedIpsBytes(int index)
       A list of the caller IP addresses that are allowed to make API calls
       with this key.
       
      repeated string allowed_ips = 1;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the allowedIps at the given index.