public final class IosKeyRestrictions extends GeneratedMessageV3 implements IosKeyRestrictionsOrBuilder
The iOS apps that are allowed to use the key.
Protobuf type google.api.apikeys.v2.IosKeyRestrictions
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ALLOWED_BUNDLE_IDS_FIELD_NUMBER
public static final int ALLOWED_BUNDLE_IDS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static IosKeyRestrictions getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static IosKeyRestrictions.Builder newBuilder()
newBuilder(IosKeyRestrictions prototype)
public static IosKeyRestrictions.Builder newBuilder(IosKeyRestrictions prototype)
public static IosKeyRestrictions parseDelimitedFrom(InputStream input)
public static IosKeyRestrictions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static IosKeyRestrictions parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IosKeyRestrictions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static IosKeyRestrictions parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IosKeyRestrictions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IosKeyRestrictions parseFrom(CodedInputStream input)
public static IosKeyRestrictions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static IosKeyRestrictions parseFrom(InputStream input)
public static IosKeyRestrictions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static IosKeyRestrictions parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IosKeyRestrictions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<IosKeyRestrictions> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAllowedBundleIds(int index)
public String getAllowedBundleIds(int index)
A list of bundle IDs that are allowed when making API calls with this key.
repeated string allowed_bundle_ids = 1;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The allowedBundleIds at the given index.
|
getAllowedBundleIdsBytes(int index)
public ByteString getAllowedBundleIdsBytes(int index)
A list of bundle IDs that are allowed when making API calls with this key.
repeated string allowed_bundle_ids = 1;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the allowedBundleIds at the given index.
|
getAllowedBundleIdsCount()
public int getAllowedBundleIdsCount()
A list of bundle IDs that are allowed when making API calls with this key.
repeated string allowed_bundle_ids = 1;
Returns |
Type |
Description |
int |
The count of allowedBundleIds.
|
getAllowedBundleIdsList()
public ProtocolStringList getAllowedBundleIdsList()
A list of bundle IDs that are allowed when making API calls with this key.
repeated string allowed_bundle_ids = 1;
getDefaultInstanceForType()
public IosKeyRestrictions getDefaultInstanceForType()
getParserForType()
public Parser<IosKeyRestrictions> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public IosKeyRestrictions.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IosKeyRestrictions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public IosKeyRestrictions.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides