Class AndroidApplication (0.46.0)

public final class AndroidApplication extends GeneratedMessageV3 implements AndroidApplicationOrBuilder

Identifier of an Android application for key use.

Protobuf type google.api.apikeys.v2.AndroidApplication

Static 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
Overrides

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>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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