Package com.google.api.apikeys.v2
Class Restrictions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
- com.google.api.apikeys.v2.Restrictions.Builder
-
- All Implemented Interfaces:
RestrictionsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Restrictions
public static final class Restrictions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder> implements RestrictionsOrBuilder
Describes the restrictions on the key.
Protobuf typegoogle.api.apikeys.v2.Restrictions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Restrictions.Builder
addAllApiTargets(Iterable<? extends ApiTarget> values)
A restriction for a specific service and optionally one or more specific methods.Restrictions.Builder
addApiTargets(int index, ApiTarget value)
A restriction for a specific service and optionally one or more specific methods.Restrictions.Builder
addApiTargets(int index, ApiTarget.Builder builderForValue)
A restriction for a specific service and optionally one or more specific methods.Restrictions.Builder
addApiTargets(ApiTarget value)
A restriction for a specific service and optionally one or more specific methods.Restrictions.Builder
addApiTargets(ApiTarget.Builder builderForValue)
A restriction for a specific service and optionally one or more specific methods.ApiTarget.Builder
addApiTargetsBuilder()
A restriction for a specific service and optionally one or more specific methods.ApiTarget.Builder
addApiTargetsBuilder(int index)
A restriction for a specific service and optionally one or more specific methods.Restrictions.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Restrictions
build()
Restrictions
buildPartial()
Restrictions.Builder
clear()
Restrictions.Builder
clearAndroidKeyRestrictions()
The Android apps that are allowed to use the key.Restrictions.Builder
clearApiTargets()
A restriction for a specific service and optionally one or more specific methods.Restrictions.Builder
clearBrowserKeyRestrictions()
The HTTP referrers (websites) that are allowed to use the key.Restrictions.Builder
clearClientRestrictions()
Restrictions.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Restrictions.Builder
clearIosKeyRestrictions()
The iOS apps that are allowed to use the key.Restrictions.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Restrictions.Builder
clearServerKeyRestrictions()
The IP addresses of callers that are allowed to use the key.Restrictions.Builder
clone()
AndroidKeyRestrictions
getAndroidKeyRestrictions()
The Android apps that are allowed to use the key.AndroidKeyRestrictions.Builder
getAndroidKeyRestrictionsBuilder()
The Android apps that are allowed to use the key.AndroidKeyRestrictionsOrBuilder
getAndroidKeyRestrictionsOrBuilder()
The Android apps that are allowed to use the key.ApiTarget
getApiTargets(int index)
A restriction for a specific service and optionally one or more specific methods.ApiTarget.Builder
getApiTargetsBuilder(int index)
A restriction for a specific service and optionally one or more specific methods.List<ApiTarget.Builder>
getApiTargetsBuilderList()
A restriction for a specific service and optionally one or more specific methods.int
getApiTargetsCount()
A restriction for a specific service and optionally one or more specific methods.List<ApiTarget>
getApiTargetsList()
A restriction for a specific service and optionally one or more specific methods.ApiTargetOrBuilder
getApiTargetsOrBuilder(int index)
A restriction for a specific service and optionally one or more specific methods.List<? extends ApiTargetOrBuilder>
getApiTargetsOrBuilderList()
A restriction for a specific service and optionally one or more specific methods.BrowserKeyRestrictions
getBrowserKeyRestrictions()
The HTTP referrers (websites) that are allowed to use the key.BrowserKeyRestrictions.Builder
getBrowserKeyRestrictionsBuilder()
The HTTP referrers (websites) that are allowed to use the key.BrowserKeyRestrictionsOrBuilder
getBrowserKeyRestrictionsOrBuilder()
The HTTP referrers (websites) that are allowed to use the key.Restrictions.ClientRestrictionsCase
getClientRestrictionsCase()
Restrictions
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
IosKeyRestrictions
getIosKeyRestrictions()
The iOS apps that are allowed to use the key.IosKeyRestrictions.Builder
getIosKeyRestrictionsBuilder()
The iOS apps that are allowed to use the key.IosKeyRestrictionsOrBuilder
getIosKeyRestrictionsOrBuilder()
The iOS apps that are allowed to use the key.ServerKeyRestrictions
getServerKeyRestrictions()
The IP addresses of callers that are allowed to use the key.ServerKeyRestrictions.Builder
getServerKeyRestrictionsBuilder()
The IP addresses of callers that are allowed to use the key.ServerKeyRestrictionsOrBuilder
getServerKeyRestrictionsOrBuilder()
The IP addresses of callers that are allowed to use the key.boolean
hasAndroidKeyRestrictions()
The Android apps that are allowed to use the key.boolean
hasBrowserKeyRestrictions()
The HTTP referrers (websites) that are allowed to use the key.boolean
hasIosKeyRestrictions()
The iOS apps that are allowed to use the key.boolean
hasServerKeyRestrictions()
The IP addresses of callers that are allowed to use the key.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Restrictions.Builder
mergeAndroidKeyRestrictions(AndroidKeyRestrictions value)
The Android apps that are allowed to use the key.Restrictions.Builder
mergeBrowserKeyRestrictions(BrowserKeyRestrictions value)
The HTTP referrers (websites) that are allowed to use the key.Restrictions.Builder
mergeFrom(Restrictions other)
Restrictions.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Restrictions.Builder
mergeFrom(com.google.protobuf.Message other)
Restrictions.Builder
mergeIosKeyRestrictions(IosKeyRestrictions value)
The iOS apps that are allowed to use the key.Restrictions.Builder
mergeServerKeyRestrictions(ServerKeyRestrictions value)
The IP addresses of callers that are allowed to use the key.Restrictions.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Restrictions.Builder
removeApiTargets(int index)
A restriction for a specific service and optionally one or more specific methods.Restrictions.Builder
setAndroidKeyRestrictions(AndroidKeyRestrictions value)
The Android apps that are allowed to use the key.Restrictions.Builder
setAndroidKeyRestrictions(AndroidKeyRestrictions.Builder builderForValue)
The Android apps that are allowed to use the key.Restrictions.Builder
setApiTargets(int index, ApiTarget value)
A restriction for a specific service and optionally one or more specific methods.Restrictions.Builder
setApiTargets(int index, ApiTarget.Builder builderForValue)
A restriction for a specific service and optionally one or more specific methods.Restrictions.Builder
setBrowserKeyRestrictions(BrowserKeyRestrictions value)
The HTTP referrers (websites) that are allowed to use the key.Restrictions.Builder
setBrowserKeyRestrictions(BrowserKeyRestrictions.Builder builderForValue)
The HTTP referrers (websites) that are allowed to use the key.Restrictions.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Restrictions.Builder
setIosKeyRestrictions(IosKeyRestrictions value)
The iOS apps that are allowed to use the key.Restrictions.Builder
setIosKeyRestrictions(IosKeyRestrictions.Builder builderForValue)
The iOS apps that are allowed to use the key.Restrictions.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Restrictions.Builder
setServerKeyRestrictions(ServerKeyRestrictions value)
The IP addresses of callers that are allowed to use the key.Restrictions.Builder
setServerKeyRestrictions(ServerKeyRestrictions.Builder builderForValue)
The IP addresses of callers that are allowed to use the key.Restrictions.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
clear
public Restrictions.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
getDefaultInstanceForType
public Restrictions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Restrictions build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Restrictions buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Restrictions.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
setField
public Restrictions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
clearField
public Restrictions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
clearOneof
public Restrictions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
setRepeatedField
public Restrictions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
addRepeatedField
public Restrictions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
mergeFrom
public Restrictions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Restrictions.Builder>
-
mergeFrom
public Restrictions.Builder mergeFrom(Restrictions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
mergeFrom
public Restrictions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Restrictions.Builder>
- Throws:
IOException
-
getClientRestrictionsCase
public Restrictions.ClientRestrictionsCase getClientRestrictionsCase()
- Specified by:
getClientRestrictionsCase
in interfaceRestrictionsOrBuilder
-
clearClientRestrictions
public Restrictions.Builder clearClientRestrictions()
-
hasBrowserKeyRestrictions
public boolean hasBrowserKeyRestrictions()
The HTTP referrers (websites) that are allowed to use the key.
.google.api.apikeys.v2.BrowserKeyRestrictions browser_key_restrictions = 1;
- Specified by:
hasBrowserKeyRestrictions
in interfaceRestrictionsOrBuilder
- Returns:
- Whether the browserKeyRestrictions field is set.
-
getBrowserKeyRestrictions
public BrowserKeyRestrictions getBrowserKeyRestrictions()
The HTTP referrers (websites) that are allowed to use the key.
.google.api.apikeys.v2.BrowserKeyRestrictions browser_key_restrictions = 1;
- Specified by:
getBrowserKeyRestrictions
in interfaceRestrictionsOrBuilder
- Returns:
- The browserKeyRestrictions.
-
setBrowserKeyRestrictions
public Restrictions.Builder setBrowserKeyRestrictions(BrowserKeyRestrictions value)
The HTTP referrers (websites) that are allowed to use the key.
.google.api.apikeys.v2.BrowserKeyRestrictions browser_key_restrictions = 1;
-
setBrowserKeyRestrictions
public Restrictions.Builder setBrowserKeyRestrictions(BrowserKeyRestrictions.Builder builderForValue)
The HTTP referrers (websites) that are allowed to use the key.
.google.api.apikeys.v2.BrowserKeyRestrictions browser_key_restrictions = 1;
-
mergeBrowserKeyRestrictions
public Restrictions.Builder mergeBrowserKeyRestrictions(BrowserKeyRestrictions value)
The HTTP referrers (websites) that are allowed to use the key.
.google.api.apikeys.v2.BrowserKeyRestrictions browser_key_restrictions = 1;
-
clearBrowserKeyRestrictions
public Restrictions.Builder clearBrowserKeyRestrictions()
The HTTP referrers (websites) that are allowed to use the key.
.google.api.apikeys.v2.BrowserKeyRestrictions browser_key_restrictions = 1;
-
getBrowserKeyRestrictionsBuilder
public BrowserKeyRestrictions.Builder getBrowserKeyRestrictionsBuilder()
The HTTP referrers (websites) that are allowed to use the key.
.google.api.apikeys.v2.BrowserKeyRestrictions browser_key_restrictions = 1;
-
getBrowserKeyRestrictionsOrBuilder
public BrowserKeyRestrictionsOrBuilder getBrowserKeyRestrictionsOrBuilder()
The HTTP referrers (websites) that are allowed to use the key.
.google.api.apikeys.v2.BrowserKeyRestrictions browser_key_restrictions = 1;
- Specified by:
getBrowserKeyRestrictionsOrBuilder
in interfaceRestrictionsOrBuilder
-
hasServerKeyRestrictions
public boolean hasServerKeyRestrictions()
The IP addresses of callers that are allowed to use the key.
.google.api.apikeys.v2.ServerKeyRestrictions server_key_restrictions = 2;
- Specified by:
hasServerKeyRestrictions
in interfaceRestrictionsOrBuilder
- Returns:
- Whether the serverKeyRestrictions field is set.
-
getServerKeyRestrictions
public ServerKeyRestrictions getServerKeyRestrictions()
The IP addresses of callers that are allowed to use the key.
.google.api.apikeys.v2.ServerKeyRestrictions server_key_restrictions = 2;
- Specified by:
getServerKeyRestrictions
in interfaceRestrictionsOrBuilder
- Returns:
- The serverKeyRestrictions.
-
setServerKeyRestrictions
public Restrictions.Builder setServerKeyRestrictions(ServerKeyRestrictions value)
The IP addresses of callers that are allowed to use the key.
.google.api.apikeys.v2.ServerKeyRestrictions server_key_restrictions = 2;
-
setServerKeyRestrictions
public Restrictions.Builder setServerKeyRestrictions(ServerKeyRestrictions.Builder builderForValue)
The IP addresses of callers that are allowed to use the key.
.google.api.apikeys.v2.ServerKeyRestrictions server_key_restrictions = 2;
-
mergeServerKeyRestrictions
public Restrictions.Builder mergeServerKeyRestrictions(ServerKeyRestrictions value)
The IP addresses of callers that are allowed to use the key.
.google.api.apikeys.v2.ServerKeyRestrictions server_key_restrictions = 2;
-
clearServerKeyRestrictions
public Restrictions.Builder clearServerKeyRestrictions()
The IP addresses of callers that are allowed to use the key.
.google.api.apikeys.v2.ServerKeyRestrictions server_key_restrictions = 2;
-
getServerKeyRestrictionsBuilder
public ServerKeyRestrictions.Builder getServerKeyRestrictionsBuilder()
The IP addresses of callers that are allowed to use the key.
.google.api.apikeys.v2.ServerKeyRestrictions server_key_restrictions = 2;
-
getServerKeyRestrictionsOrBuilder
public ServerKeyRestrictionsOrBuilder getServerKeyRestrictionsOrBuilder()
The IP addresses of callers that are allowed to use the key.
.google.api.apikeys.v2.ServerKeyRestrictions server_key_restrictions = 2;
- Specified by:
getServerKeyRestrictionsOrBuilder
in interfaceRestrictionsOrBuilder
-
hasAndroidKeyRestrictions
public boolean hasAndroidKeyRestrictions()
The Android apps that are allowed to use the key.
.google.api.apikeys.v2.AndroidKeyRestrictions android_key_restrictions = 3;
- Specified by:
hasAndroidKeyRestrictions
in interfaceRestrictionsOrBuilder
- Returns:
- Whether the androidKeyRestrictions field is set.
-
getAndroidKeyRestrictions
public AndroidKeyRestrictions getAndroidKeyRestrictions()
The Android apps that are allowed to use the key.
.google.api.apikeys.v2.AndroidKeyRestrictions android_key_restrictions = 3;
- Specified by:
getAndroidKeyRestrictions
in interfaceRestrictionsOrBuilder
- Returns:
- The androidKeyRestrictions.
-
setAndroidKeyRestrictions
public Restrictions.Builder setAndroidKeyRestrictions(AndroidKeyRestrictions value)
The Android apps that are allowed to use the key.
.google.api.apikeys.v2.AndroidKeyRestrictions android_key_restrictions = 3;
-
setAndroidKeyRestrictions
public Restrictions.Builder setAndroidKeyRestrictions(AndroidKeyRestrictions.Builder builderForValue)
The Android apps that are allowed to use the key.
.google.api.apikeys.v2.AndroidKeyRestrictions android_key_restrictions = 3;
-
mergeAndroidKeyRestrictions
public Restrictions.Builder mergeAndroidKeyRestrictions(AndroidKeyRestrictions value)
The Android apps that are allowed to use the key.
.google.api.apikeys.v2.AndroidKeyRestrictions android_key_restrictions = 3;
-
clearAndroidKeyRestrictions
public Restrictions.Builder clearAndroidKeyRestrictions()
The Android apps that are allowed to use the key.
.google.api.apikeys.v2.AndroidKeyRestrictions android_key_restrictions = 3;
-
getAndroidKeyRestrictionsBuilder
public AndroidKeyRestrictions.Builder getAndroidKeyRestrictionsBuilder()
The Android apps that are allowed to use the key.
.google.api.apikeys.v2.AndroidKeyRestrictions android_key_restrictions = 3;
-
getAndroidKeyRestrictionsOrBuilder
public AndroidKeyRestrictionsOrBuilder getAndroidKeyRestrictionsOrBuilder()
The Android apps that are allowed to use the key.
.google.api.apikeys.v2.AndroidKeyRestrictions android_key_restrictions = 3;
- Specified by:
getAndroidKeyRestrictionsOrBuilder
in interfaceRestrictionsOrBuilder
-
hasIosKeyRestrictions
public boolean hasIosKeyRestrictions()
The iOS apps that are allowed to use the key.
.google.api.apikeys.v2.IosKeyRestrictions ios_key_restrictions = 4;
- Specified by:
hasIosKeyRestrictions
in interfaceRestrictionsOrBuilder
- Returns:
- Whether the iosKeyRestrictions field is set.
-
getIosKeyRestrictions
public IosKeyRestrictions getIosKeyRestrictions()
The iOS apps that are allowed to use the key.
.google.api.apikeys.v2.IosKeyRestrictions ios_key_restrictions = 4;
- Specified by:
getIosKeyRestrictions
in interfaceRestrictionsOrBuilder
- Returns:
- The iosKeyRestrictions.
-
setIosKeyRestrictions
public Restrictions.Builder setIosKeyRestrictions(IosKeyRestrictions value)
The iOS apps that are allowed to use the key.
.google.api.apikeys.v2.IosKeyRestrictions ios_key_restrictions = 4;
-
setIosKeyRestrictions
public Restrictions.Builder setIosKeyRestrictions(IosKeyRestrictions.Builder builderForValue)
The iOS apps that are allowed to use the key.
.google.api.apikeys.v2.IosKeyRestrictions ios_key_restrictions = 4;
-
mergeIosKeyRestrictions
public Restrictions.Builder mergeIosKeyRestrictions(IosKeyRestrictions value)
The iOS apps that are allowed to use the key.
.google.api.apikeys.v2.IosKeyRestrictions ios_key_restrictions = 4;
-
clearIosKeyRestrictions
public Restrictions.Builder clearIosKeyRestrictions()
The iOS apps that are allowed to use the key.
.google.api.apikeys.v2.IosKeyRestrictions ios_key_restrictions = 4;
-
getIosKeyRestrictionsBuilder
public IosKeyRestrictions.Builder getIosKeyRestrictionsBuilder()
The iOS apps that are allowed to use the key.
.google.api.apikeys.v2.IosKeyRestrictions ios_key_restrictions = 4;
-
getIosKeyRestrictionsOrBuilder
public IosKeyRestrictionsOrBuilder getIosKeyRestrictionsOrBuilder()
The iOS apps that are allowed to use the key.
.google.api.apikeys.v2.IosKeyRestrictions ios_key_restrictions = 4;
- Specified by:
getIosKeyRestrictionsOrBuilder
in interfaceRestrictionsOrBuilder
-
getApiTargetsList
public List<ApiTarget> getApiTargetsList()
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
- Specified by:
getApiTargetsList
in interfaceRestrictionsOrBuilder
-
getApiTargetsCount
public int getApiTargetsCount()
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
- Specified by:
getApiTargetsCount
in interfaceRestrictionsOrBuilder
-
getApiTargets
public ApiTarget getApiTargets(int index)
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
- Specified by:
getApiTargets
in interfaceRestrictionsOrBuilder
-
setApiTargets
public Restrictions.Builder setApiTargets(int index, ApiTarget value)
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
-
setApiTargets
public Restrictions.Builder setApiTargets(int index, ApiTarget.Builder builderForValue)
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
-
addApiTargets
public Restrictions.Builder addApiTargets(ApiTarget value)
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
-
addApiTargets
public Restrictions.Builder addApiTargets(int index, ApiTarget value)
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
-
addApiTargets
public Restrictions.Builder addApiTargets(ApiTarget.Builder builderForValue)
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
-
addApiTargets
public Restrictions.Builder addApiTargets(int index, ApiTarget.Builder builderForValue)
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
-
addAllApiTargets
public Restrictions.Builder addAllApiTargets(Iterable<? extends ApiTarget> values)
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
-
clearApiTargets
public Restrictions.Builder clearApiTargets()
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
-
removeApiTargets
public Restrictions.Builder removeApiTargets(int index)
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
-
getApiTargetsBuilder
public ApiTarget.Builder getApiTargetsBuilder(int index)
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
-
getApiTargetsOrBuilder
public ApiTargetOrBuilder getApiTargetsOrBuilder(int index)
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
- Specified by:
getApiTargetsOrBuilder
in interfaceRestrictionsOrBuilder
-
getApiTargetsOrBuilderList
public List<? extends ApiTargetOrBuilder> getApiTargetsOrBuilderList()
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
- Specified by:
getApiTargetsOrBuilderList
in interfaceRestrictionsOrBuilder
-
addApiTargetsBuilder
public ApiTarget.Builder addApiTargetsBuilder()
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
-
addApiTargetsBuilder
public ApiTarget.Builder addApiTargetsBuilder(int index)
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
-
getApiTargetsBuilderList
public List<ApiTarget.Builder> getApiTargetsBuilderList()
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
-
setUnknownFields
public final Restrictions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
mergeUnknownFields
public final Restrictions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
-