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
Static Methods
getDefaultInstance()
public static IosKeyRestrictions getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static IosKeyRestrictions.Builder newBuilder()
Returns
newBuilder(IosKeyRestrictions prototype)
public static IosKeyRestrictions.Builder newBuilder(IosKeyRestrictions prototype)
Parameter
Returns
public static IosKeyRestrictions parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static IosKeyRestrictions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static IosKeyRestrictions parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IosKeyRestrictions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static IosKeyRestrictions parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IosKeyRestrictions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IosKeyRestrictions parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static IosKeyRestrictions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IosKeyRestrictions parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static IosKeyRestrictions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static IosKeyRestrictions parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IosKeyRestrictions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<IosKeyRestrictions> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
getDefaultInstanceForType()
public IosKeyRestrictions getDefaultInstanceForType()
Returns
getParserForType()
public Parser<IosKeyRestrictions> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public IosKeyRestrictions.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IosKeyRestrictions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public IosKeyRestrictions.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions