Class IosKeyRestrictions (0.51.0)

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

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()
Returns
Type Description
IosKeyRestrictions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static IosKeyRestrictions.Builder newBuilder()
Returns
Type Description
IosKeyRestrictions.Builder

newBuilder(IosKeyRestrictions prototype)

public static IosKeyRestrictions.Builder newBuilder(IosKeyRestrictions prototype)
Parameter
Name Description
prototype IosKeyRestrictions
Returns
Type Description
IosKeyRestrictions.Builder

parseDelimitedFrom(InputStream input)

public static IosKeyRestrictions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IosKeyRestrictions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IosKeyRestrictions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IosKeyRestrictions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IosKeyRestrictions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IosKeyRestrictions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IosKeyRestrictions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IosKeyRestrictions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IosKeyRestrictions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IosKeyRestrictions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IosKeyRestrictions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IosKeyRestrictions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IosKeyRestrictions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IosKeyRestrictions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IosKeyRestrictions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IosKeyRestrictions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IosKeyRestrictions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IosKeyRestrictions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IosKeyRestrictions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IosKeyRestrictions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IosKeyRestrictions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IosKeyRestrictions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IosKeyRestrictions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IosKeyRestrictions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IosKeyRestrictions> parser()
Returns
Type Description
Parser<IosKeyRestrictions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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;

Returns
Type Description
ProtocolStringList

A list containing the allowedBundleIds.

getDefaultInstanceForType()

public IosKeyRestrictions getDefaultInstanceForType()
Returns
Type Description
IosKeyRestrictions

getParserForType()

public Parser<IosKeyRestrictions> getParserForType()
Returns
Type Description
Parser<IosKeyRestrictions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IosKeyRestrictions.Builder newBuilderForType()
Returns
Type Description
IosKeyRestrictions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IosKeyRestrictions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IosKeyRestrictions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public IosKeyRestrictions.Builder toBuilder()
Returns
Type Description
IosKeyRestrictions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException