Class IosKeyRestrictions (0.14.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static IosKeyRestrictions getDefaultInstance()
Returns
TypeDescription
IosKeyRestrictions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static IosKeyRestrictions.Builder newBuilder()
Returns
TypeDescription
IosKeyRestrictions.Builder

newBuilder(IosKeyRestrictions prototype)

public static IosKeyRestrictions.Builder newBuilder(IosKeyRestrictions prototype)
Parameter
NameDescription
prototypeIosKeyRestrictions
Returns
TypeDescription
IosKeyRestrictions.Builder

parseDelimitedFrom(InputStream input)

public static IosKeyRestrictions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IosKeyRestrictions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IosKeyRestrictions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IosKeyRestrictions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static IosKeyRestrictions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
IosKeyRestrictions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IosKeyRestrictions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IosKeyRestrictions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IosKeyRestrictions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IosKeyRestrictions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IosKeyRestrictions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IosKeyRestrictions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IosKeyRestrictions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IosKeyRestrictions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IosKeyRestrictions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IosKeyRestrictions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static IosKeyRestrictions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IosKeyRestrictions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IosKeyRestrictions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IosKeyRestrictions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static IosKeyRestrictions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IosKeyRestrictions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IosKeyRestrictions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IosKeyRestrictions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<IosKeyRestrictions> parser()
Returns
TypeDescription
Parser<IosKeyRestrictions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the allowedBundleIds.

getDefaultInstanceForType()

public IosKeyRestrictions getDefaultInstanceForType()
Returns
TypeDescription
IosKeyRestrictions

getParserForType()

public Parser<IosKeyRestrictions> getParserForType()
Returns
TypeDescription
Parser<IosKeyRestrictions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public IosKeyRestrictions.Builder newBuilderForType()
Returns
TypeDescription
IosKeyRestrictions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IosKeyRestrictions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
IosKeyRestrictions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public IosKeyRestrictions.Builder toBuilder()
Returns
TypeDescription
IosKeyRestrictions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException