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
@Generated
public interface ServerKeyRestrictionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowedIps(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.intA 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
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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.
-