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