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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<AndroidKeyRestrictions.Builder> implements AndroidKeyRestrictionsOrBuilder
The Android apps that are allowed to use the key.
Protobuf typegoogle.api.apikeys.v2.AndroidKeyRestrictions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AndroidKeyRestrictions.BuilderaddAllAllowedApplications(Iterable<? extends AndroidApplication> values)A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.BuilderaddAllowedApplications(int index, AndroidApplication value)A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.BuilderaddAllowedApplications(int index, AndroidApplication.Builder builderForValue)A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.BuilderaddAllowedApplications(AndroidApplication value)A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.BuilderaddAllowedApplications(AndroidApplication.Builder builderForValue)A list of Android applications that are allowed to make API calls with this key.AndroidApplication.BuilderaddAllowedApplicationsBuilder()A list of Android applications that are allowed to make API calls with this key.AndroidApplication.BuilderaddAllowedApplicationsBuilder(int index)A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AndroidKeyRestrictionsbuild()AndroidKeyRestrictionsbuildPartial()AndroidKeyRestrictions.Builderclear()AndroidKeyRestrictions.BuilderclearAllowedApplications()A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AndroidKeyRestrictions.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AndroidKeyRestrictions.Builderclone()AndroidApplicationgetAllowedApplications(int index)A list of Android applications that are allowed to make API calls with this key.AndroidApplication.BuildergetAllowedApplicationsBuilder(int index)A list of Android applications that are allowed to make API calls with this key.List<AndroidApplication.Builder>getAllowedApplicationsBuilderList()A list of Android applications that are allowed to make API calls with this key.intgetAllowedApplicationsCount()A list of Android applications that are allowed to make API calls with this key.List<AndroidApplication>getAllowedApplicationsList()A list of Android applications that are allowed to make API calls with this key.AndroidApplicationOrBuildergetAllowedApplicationsOrBuilder(int index)A list of Android applications that are allowed to make API calls with this key.List<? extends AndroidApplicationOrBuilder>getAllowedApplicationsOrBuilderList()A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AndroidKeyRestrictions.BuildermergeFrom(AndroidKeyRestrictions other)AndroidKeyRestrictions.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AndroidKeyRestrictions.BuildermergeFrom(com.google.protobuf.Message other)AndroidKeyRestrictions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AndroidKeyRestrictions.BuilderremoveAllowedApplications(int index)A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.BuildersetAllowedApplications(int index, AndroidApplication value)A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.BuildersetAllowedApplications(int index, AndroidApplication.Builder builderForValue)A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AndroidKeyRestrictions.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AndroidKeyRestrictions.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<AndroidKeyRestrictions.Builder>
-
clear
public AndroidKeyRestrictions.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<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.GeneratedMessageV3.Builder<AndroidKeyRestrictions.Builder>
-
getDefaultInstanceForType
public AndroidKeyRestrictions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AndroidKeyRestrictions build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AndroidKeyRestrictions buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AndroidKeyRestrictions.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<AndroidKeyRestrictions.Builder>
-
setField
public AndroidKeyRestrictions.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<AndroidKeyRestrictions.Builder>
-
clearField
public AndroidKeyRestrictions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AndroidKeyRestrictions.Builder>
-
clearOneof
public AndroidKeyRestrictions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AndroidKeyRestrictions.Builder>
-
setRepeatedField
public AndroidKeyRestrictions.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<AndroidKeyRestrictions.Builder>
-
addRepeatedField
public AndroidKeyRestrictions.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<AndroidKeyRestrictions.Builder>
-
mergeFrom
public AndroidKeyRestrictions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AndroidKeyRestrictions.Builder>
-
mergeFrom
public AndroidKeyRestrictions.Builder mergeFrom(AndroidKeyRestrictions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public List<AndroidApplication> 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
public AndroidApplication getAllowedApplications(int index)
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
public AndroidKeyRestrictions.Builder setAllowedApplications(int index, AndroidApplication value)
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
public AndroidKeyRestrictions.Builder addAllowedApplications(AndroidApplication value)
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 value)
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
public AndroidKeyRestrictions.Builder 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
public AndroidKeyRestrictions.Builder removeAllowedApplications(int index)
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
public AndroidApplication.Builder getAllowedApplicationsBuilder(int index)
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
public AndroidApplicationOrBuilder getAllowedApplicationsOrBuilder(int index)
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
public List<? extends AndroidApplicationOrBuilder> 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
public AndroidApplication.Builder 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
public AndroidApplication.Builder addAllowedApplicationsBuilder(int index)
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
public List<AndroidApplication.Builder> 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;
-
setUnknownFields
public final AndroidKeyRestrictions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AndroidKeyRestrictions.Builder>
-
mergeUnknownFields
public final AndroidKeyRestrictions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AndroidKeyRestrictions.Builder>
-
-