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.Builder
addAllAllowedApplications(Iterable<? extends AndroidApplication> values)
A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.Builder
addAllowedApplications(int index, AndroidApplication value)
A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.Builder
addAllowedApplications(int index, AndroidApplication.Builder builderForValue)
A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.Builder
addAllowedApplications(AndroidApplication value)
A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.Builder
addAllowedApplications(AndroidApplication.Builder builderForValue)
A list of Android applications that are allowed to make API calls with this key.AndroidApplication.Builder
addAllowedApplicationsBuilder()
A list of Android applications that are allowed to make API calls with this key.AndroidApplication.Builder
addAllowedApplicationsBuilder(int index)
A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AndroidKeyRestrictions
build()
AndroidKeyRestrictions
buildPartial()
AndroidKeyRestrictions.Builder
clear()
AndroidKeyRestrictions.Builder
clearAllowedApplications()
A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AndroidKeyRestrictions.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AndroidKeyRestrictions.Builder
clone()
AndroidApplication
getAllowedApplications(int index)
A list of Android applications that are allowed to make API calls with this key.AndroidApplication.Builder
getAllowedApplicationsBuilder(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.int
getAllowedApplicationsCount()
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.AndroidApplicationOrBuilder
getAllowedApplicationsOrBuilder(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.AndroidKeyRestrictions
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AndroidKeyRestrictions.Builder
mergeFrom(AndroidKeyRestrictions other)
AndroidKeyRestrictions.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AndroidKeyRestrictions.Builder
mergeFrom(com.google.protobuf.Message other)
AndroidKeyRestrictions.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AndroidKeyRestrictions.Builder
removeAllowedApplications(int index)
A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.Builder
setAllowedApplications(int index, AndroidApplication value)
A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.Builder
setAllowedApplications(int index, AndroidApplication.Builder builderForValue)
A list of Android applications that are allowed to make API calls with this key.AndroidKeyRestrictions.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AndroidKeyRestrictions.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AndroidKeyRestrictions.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<AndroidKeyRestrictions.Builder>
-
clear
public AndroidKeyRestrictions.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<AndroidKeyRestrictions.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<AndroidKeyRestrictions.Builder>
-
getDefaultInstanceForType
public AndroidKeyRestrictions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AndroidKeyRestrictions build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AndroidKeyRestrictions buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AndroidKeyRestrictions.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<AndroidKeyRestrictions.Builder>
-
setField
public AndroidKeyRestrictions.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<AndroidKeyRestrictions.Builder>
-
clearField
public AndroidKeyRestrictions.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<AndroidKeyRestrictions.Builder>
-
clearOneof
public AndroidKeyRestrictions.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<AndroidKeyRestrictions.Builder>
-
setRepeatedField
public AndroidKeyRestrictions.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<AndroidKeyRestrictions.Builder>
-
addRepeatedField
public AndroidKeyRestrictions.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<AndroidKeyRestrictions.Builder>
-
mergeFrom
public AndroidKeyRestrictions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AndroidKeyRestrictions.Builder>
-
mergeFrom
public AndroidKeyRestrictions.Builder mergeFrom(AndroidKeyRestrictions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getAllowedApplicationsList
in 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:
getAllowedApplicationsCount
in 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:
getAllowedApplications
in 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:
getAllowedApplicationsOrBuilder
in 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:
getAllowedApplicationsOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AndroidKeyRestrictions.Builder>
-
mergeUnknownFields
public final AndroidKeyRestrictions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AndroidKeyRestrictions.Builder>
-
-