Package com.google.api.apikeys.v2
Interface ServerKeyRestrictionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServerKeyRestrictions,ServerKeyRestrictions.Builder
public interface ServerKeyRestrictionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAllowedIps(int index)A list of the caller IP addresses that are allowed to make API calls with this key.com.google.protobuf.ByteStringgetAllowedIpsBytes(int index)A list of the caller IP addresses that are allowed to make API calls with this key.intgetAllowedIpsCount()A list of the caller IP addresses that are allowed to make API calls with this key.List<String>getAllowedIpsList()A list of the caller IP addresses that are allowed to make API calls with this key.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-