Class AndroidApplication (0.21.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
TypeDescription
int

SHA1_FINGERPRINT_FIELD_NUMBER

public static final int SHA1_FINGERPRINT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AndroidApplication getDefaultInstance()
Returns
TypeDescription
AndroidApplication

getDescriptor()

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

newBuilder()

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

newBuilder(AndroidApplication prototype)

public static AndroidApplication.Builder newBuilder(AndroidApplication prototype)
Parameter
NameDescription
prototypeAndroidApplication
Returns
TypeDescription
AndroidApplication.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AndroidApplication getDefaultInstanceForType()
Returns
TypeDescription
AndroidApplication

getPackageName()

public String getPackageName()

The package name of the application.

string package_name = 2;

Returns
TypeDescription
String

The packageName.

getPackageNameBytes()

public ByteString getPackageNameBytes()

The package name of the application.

string package_name = 2;

Returns
TypeDescription
ByteString

The bytes for packageName.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for sha1Fingerprint.

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 AndroidApplication.Builder newBuilderForType()
Returns
TypeDescription
AndroidApplication.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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