Package com.google.api.apikeys.v2
Class AndroidKeyRestrictions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AndroidKeyRestrictions.Builder>
com.google.api.apikeys.v2.AndroidKeyRestrictions.Builder
- All Implemented Interfaces:
AndroidKeyRestrictionsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AndroidKeyRestrictions
public static final class AndroidKeyRestrictions.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AndroidKeyRestrictions.Builder>
implements AndroidKeyRestrictionsOrBuilder
The Android apps that are allowed to use the key.Protobuf type
google.api.apikeys.v2.AndroidKeyRestrictions-
Method Summary
Modifier and TypeMethodDescriptionaddAllAllowedApplications(Iterable<? extends AndroidApplication> values) A list of Android applications that are allowed to make API calls with this key.addAllowedApplications(int index, AndroidApplication value) A list of Android applications that are allowed to make API calls with this key.addAllowedApplications(int index, AndroidApplication.Builder builderForValue) A list of Android applications that are allowed to make API calls with this key.A list of Android applications that are allowed to make API calls with this key.addAllowedApplications(AndroidApplication.Builder builderForValue) A list of Android applications that are allowed to make API calls with this key.A list of Android applications that are allowed to make API calls with this key.addAllowedApplicationsBuilder(int index) A list of Android applications that are allowed to make API calls with this key.build()clear()A list of Android applications that are allowed to make API calls with this key.getAllowedApplications(int index) A list of Android applications that are allowed to make API calls with this key.getAllowedApplicationsBuilder(int index) A list of Android applications that are allowed to make API calls with this key.A list of Android applications that are allowed to make API calls with this key.intA list of Android applications that are allowed to make API calls with this key.A list of Android applications that are allowed to make API calls with this key.getAllowedApplicationsOrBuilder(int index) A list of Android applications that are allowed to make API calls with this key.List<? extends AndroidApplicationOrBuilder>A list of Android applications that are allowed to make API calls with this key.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(AndroidKeyRestrictions other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeAllowedApplications(int index) A list of Android applications that are allowed to make API calls with this key.setAllowedApplications(int index, AndroidApplication value) A list of Android applications that are allowed to make API calls with this key.setAllowedApplications(int index, AndroidApplication.Builder builderForValue) A list of Android applications that are allowed to make API calls with this key.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AndroidKeyRestrictions.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AndroidKeyRestrictions.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.GeneratedMessage.Builder<AndroidKeyRestrictions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AndroidKeyRestrictions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AndroidKeyRestrictions.Builder>
-
mergeFrom
public AndroidKeyRestrictions.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<AndroidKeyRestrictions.Builder>- Throws:
IOException
-
getAllowedApplicationsList
A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1;- Specified by:
getAllowedApplicationsListin interfaceAndroidKeyRestrictionsOrBuilder
-
getAllowedApplicationsCount
public int getAllowedApplicationsCount()A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1;- Specified by:
getAllowedApplicationsCountin interfaceAndroidKeyRestrictionsOrBuilder
-
getAllowedApplications
A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1;- Specified by:
getAllowedApplicationsin interfaceAndroidKeyRestrictionsOrBuilder
-
setAllowedApplications
A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1; -
setAllowedApplications
public AndroidKeyRestrictions.Builder setAllowedApplications(int index, AndroidApplication.Builder builderForValue) A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1; -
addAllowedApplications
A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1; -
addAllowedApplications
A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1; -
addAllowedApplications
public AndroidKeyRestrictions.Builder addAllowedApplications(AndroidApplication.Builder builderForValue) A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1; -
addAllowedApplications
public AndroidKeyRestrictions.Builder addAllowedApplications(int index, AndroidApplication.Builder builderForValue) A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1; -
addAllAllowedApplications
public AndroidKeyRestrictions.Builder addAllAllowedApplications(Iterable<? extends AndroidApplication> values) A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1; -
clearAllowedApplications
A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1; -
removeAllowedApplications
A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1; -
getAllowedApplicationsBuilder
A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1; -
getAllowedApplicationsOrBuilder
A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1;- Specified by:
getAllowedApplicationsOrBuilderin interfaceAndroidKeyRestrictionsOrBuilder
-
getAllowedApplicationsOrBuilderList
A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1;- Specified by:
getAllowedApplicationsOrBuilderListin interfaceAndroidKeyRestrictionsOrBuilder
-
addAllowedApplicationsBuilder
A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1; -
addAllowedApplicationsBuilder
A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1; -
getAllowedApplicationsBuilderList
A list of Android applications that are allowed to make API calls with this key.
repeated .google.api.apikeys.v2.AndroidApplication allowed_applications = 1;
-