public final class AndroidApplication extends GeneratedMessage implements AndroidApplicationOrBuilderIdentifier of an Android application for key use.
Protobuf type google.api.apikeys.v2.AndroidApplication
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AndroidApplicationImplements
AndroidApplicationOrBuilderStatic Fields
PACKAGE_NAME_FIELD_NUMBER
public static final int PACKAGE_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SHA1_FINGERPRINT_FIELD_NUMBER
public static final int SHA1_FINGERPRINT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static AndroidApplication getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
AndroidApplication |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static AndroidApplication.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
AndroidApplication.Builder |
|
newBuilder(AndroidApplication prototype)
public static AndroidApplication.Builder newBuilder(AndroidApplication prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
AndroidApplication |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication.Builder |
|
parseDelimitedFrom(InputStream input)
public static AndroidApplication parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AndroidApplication parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static AndroidApplication parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AndroidApplication parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static AndroidApplication parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AndroidApplication parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static AndroidApplication parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AndroidApplication parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static AndroidApplication parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AndroidApplication parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static AndroidApplication parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AndroidApplication parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<AndroidApplication> parser()| Returns | |
|---|---|
| Type | Description |
Parser<AndroidApplication> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public AndroidApplication getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AndroidApplication |
|
getPackageName()
public String getPackageName()The package name of the application.
string package_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The packageName. |
getPackageNameBytes()
public ByteString getPackageNameBytes()The package name of the application.
string package_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for packageName. |
getParserForType()
public Parser<AndroidApplication> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<AndroidApplication> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSha1Fingerprint()
public String getSha1Fingerprint()The SHA1 fingerprint of the application. For example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format is the latter.
string sha1_fingerprint = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The sha1Fingerprint. |
getSha1FingerprintBytes()
public ByteString getSha1FingerprintBytes()The SHA1 fingerprint of the application. For example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format is the latter.
string sha1_fingerprint = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sha1Fingerprint. |
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 AndroidApplication.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
AndroidApplication.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AndroidApplication.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication.Builder |
|
toBuilder()
public AndroidApplication.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
AndroidApplication.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|