Package com.google.api.apikeys.v2
Interface BrowserKeyRestrictionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BrowserKeyRestrictions
,BrowserKeyRestrictions.Builder
public interface BrowserKeyRestrictionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAllowedReferrers(int index)
A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.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.int
getAllowedReferrersCount()
A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.List<String>
getAllowedReferrersList()
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.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-