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
@Generated
public interface BrowserKeyRestrictionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowedReferrers(int index) A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.com.google.protobuf.ByteStringgetAllowedReferrersBytes(int index) A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.intA list of regular expressions for the referrer URLs that are allowed to make API calls with this key.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.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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.
-