public final class IosKeyRestrictions extends GeneratedMessage implements IosKeyRestrictionsOrBuilderThe iOS apps that are allowed to use the key.
Protobuf type google.api.apikeys.v2.IosKeyRestrictions
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > IosKeyRestrictionsImplements
IosKeyRestrictionsOrBuilderStatic 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 |
|
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 |
intThe 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 |
intThe 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> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public IosKeyRestrictions.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
IosKeyRestrictions.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected IosKeyRestrictions.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
IosKeyRestrictions.Builder |
|
toBuilder()
public IosKeyRestrictions.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
IosKeyRestrictions.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|