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.BuilderaddAllApiTargets(Iterable<? extends ApiTarget> values)A restriction for a specific service and optionally one or more specific methods.Restrictions.BuilderaddApiTargets(int index, ApiTarget value)A restriction for a specific service and optionally one or more specific methods.Restrictions.BuilderaddApiTargets(int index, ApiTarget.Builder builderForValue)A restriction for a specific service and optionally one or more specific methods.Restrictions.BuilderaddApiTargets(ApiTarget value)A restriction for a specific service and optionally one or more specific methods.Restrictions.BuilderaddApiTargets(ApiTarget.Builder builderForValue)A restriction for a specific service and optionally one or more specific methods.ApiTarget.BuilderaddApiTargetsBuilder()A restriction for a specific service and optionally one or more specific methods.ApiTarget.BuilderaddApiTargetsBuilder(int index)A restriction for a specific service and optionally one or more specific methods.Restrictions.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Restrictionsbuild()RestrictionsbuildPartial()Restrictions.Builderclear()Restrictions.BuilderclearAndroidKeyRestrictions()The Android apps that are allowed to use the key.Restrictions.BuilderclearApiTargets()A restriction for a specific service and optionally one or more specific methods.Restrictions.BuilderclearBrowserKeyRestrictions()The HTTP referrers (websites) that are allowed to use the key.Restrictions.BuilderclearClientRestrictions()Restrictions.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Restrictions.BuilderclearIosKeyRestrictions()The iOS apps that are allowed to use the key.Restrictions.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Restrictions.BuilderclearServerKeyRestrictions()The IP addresses of callers that are allowed to use the key.Restrictions.Builderclone()AndroidKeyRestrictionsgetAndroidKeyRestrictions()The Android apps that are allowed to use the key.AndroidKeyRestrictions.BuildergetAndroidKeyRestrictionsBuilder()The Android apps that are allowed to use the key.AndroidKeyRestrictionsOrBuildergetAndroidKeyRestrictionsOrBuilder()The Android apps that are allowed to use the key.ApiTargetgetApiTargets(int index)A restriction for a specific service and optionally one or more specific methods.ApiTarget.BuildergetApiTargetsBuilder(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.intgetApiTargetsCount()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.ApiTargetOrBuildergetApiTargetsOrBuilder(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.BrowserKeyRestrictionsgetBrowserKeyRestrictions()The HTTP referrers (websites) that are allowed to use the key.BrowserKeyRestrictions.BuildergetBrowserKeyRestrictionsBuilder()The HTTP referrers (websites) that are allowed to use the key.BrowserKeyRestrictionsOrBuildergetBrowserKeyRestrictionsOrBuilder()The HTTP referrers (websites) that are allowed to use the key.Restrictions.ClientRestrictionsCasegetClientRestrictionsCase()RestrictionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()IosKeyRestrictionsgetIosKeyRestrictions()The iOS apps that are allowed to use the key.IosKeyRestrictions.BuildergetIosKeyRestrictionsBuilder()The iOS apps that are allowed to use the key.IosKeyRestrictionsOrBuildergetIosKeyRestrictionsOrBuilder()The iOS apps that are allowed to use the key.ServerKeyRestrictionsgetServerKeyRestrictions()The IP addresses of callers that are allowed to use the key.ServerKeyRestrictions.BuildergetServerKeyRestrictionsBuilder()The IP addresses of callers that are allowed to use the key.ServerKeyRestrictionsOrBuildergetServerKeyRestrictionsOrBuilder()The IP addresses of callers that are allowed to use the key.booleanhasAndroidKeyRestrictions()The Android apps that are allowed to use the key.booleanhasBrowserKeyRestrictions()The HTTP referrers (websites) that are allowed to use the key.booleanhasIosKeyRestrictions()The iOS apps that are allowed to use the key.booleanhasServerKeyRestrictions()The IP addresses of callers that are allowed to use the key.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Restrictions.BuildermergeAndroidKeyRestrictions(AndroidKeyRestrictions value)The Android apps that are allowed to use the key.Restrictions.BuildermergeBrowserKeyRestrictions(BrowserKeyRestrictions value)The HTTP referrers (websites) that are allowed to use the key.Restrictions.BuildermergeFrom(Restrictions other)Restrictions.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Restrictions.BuildermergeFrom(com.google.protobuf.Message other)Restrictions.BuildermergeIosKeyRestrictions(IosKeyRestrictions value)The iOS apps that are allowed to use the key.Restrictions.BuildermergeServerKeyRestrictions(ServerKeyRestrictions value)The IP addresses of callers that are allowed to use the key.Restrictions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Restrictions.BuilderremoveApiTargets(int index)A restriction for a specific service and optionally one or more specific methods.Restrictions.BuildersetAndroidKeyRestrictions(AndroidKeyRestrictions value)The Android apps that are allowed to use the key.Restrictions.BuildersetAndroidKeyRestrictions(AndroidKeyRestrictions.Builder builderForValue)The Android apps that are allowed to use the key.Restrictions.BuildersetApiTargets(int index, ApiTarget value)A restriction for a specific service and optionally one or more specific methods.Restrictions.BuildersetApiTargets(int index, ApiTarget.Builder builderForValue)A restriction for a specific service and optionally one or more specific methods.Restrictions.BuildersetBrowserKeyRestrictions(BrowserKeyRestrictions value)The HTTP referrers (websites) that are allowed to use the key.Restrictions.BuildersetBrowserKeyRestrictions(BrowserKeyRestrictions.Builder builderForValue)The HTTP referrers (websites) that are allowed to use the key.Restrictions.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Restrictions.BuildersetIosKeyRestrictions(IosKeyRestrictions value)The iOS apps that are allowed to use the key.Restrictions.BuildersetIosKeyRestrictions(IosKeyRestrictions.Builder builderForValue)The iOS apps that are allowed to use the key.Restrictions.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Restrictions.BuildersetServerKeyRestrictions(ServerKeyRestrictions value)The IP addresses of callers that are allowed to use the key.Restrictions.BuildersetServerKeyRestrictions(ServerKeyRestrictions.Builder builderForValue)The IP addresses of callers that are allowed to use the key.Restrictions.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
clear
public Restrictions.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
getDefaultInstanceForType
public Restrictions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Restrictions build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Restrictions buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Restrictions.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
setField
public Restrictions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
clearField
public Restrictions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
clearOneof
public Restrictions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
setRepeatedField
public Restrictions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
addRepeatedField
public Restrictions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
mergeFrom
public Restrictions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Restrictions.Builder>
-
mergeFrom
public Restrictions.Builder mergeFrom(Restrictions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Restrictions.Builder>- Throws:
IOException
-
getClientRestrictionsCase
public Restrictions.ClientRestrictionsCase getClientRestrictionsCase()
- Specified by:
getClientRestrictionsCasein 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:
hasBrowserKeyRestrictionsin 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:
getBrowserKeyRestrictionsin 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:
getBrowserKeyRestrictionsOrBuilderin 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:
hasServerKeyRestrictionsin 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:
getServerKeyRestrictionsin 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:
getServerKeyRestrictionsOrBuilderin 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:
hasAndroidKeyRestrictionsin 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:
getAndroidKeyRestrictionsin 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:
getAndroidKeyRestrictionsOrBuilderin 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:
hasIosKeyRestrictionsin 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:
getIosKeyRestrictionsin 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:
getIosKeyRestrictionsOrBuilderin 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:
getApiTargetsListin 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:
getApiTargetsCountin 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:
getApiTargetsin 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:
getApiTargetsOrBuilderin 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:
getApiTargetsOrBuilderListin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
mergeUnknownFields
public final Restrictions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
-