public static final class AndroidApplication.Builder extends GeneratedMessage.Builder<AndroidApplication.Builder> implements AndroidApplicationOrBuilderIdentifier of an Android application for key use.
Protobuf type google.api.apikeys.v2.AndroidApplication
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AndroidApplication.BuilderImplements
AndroidApplicationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AndroidApplication build()| Returns | |
|---|---|
| Type | Description |
AndroidApplication |
|
buildPartial()
public AndroidApplication buildPartial()| Returns | |
|---|---|
| Type | Description |
AndroidApplication |
|
clear()
public AndroidApplication.Builder clear()| Returns | |
|---|---|
| Type | Description |
AndroidApplication.Builder |
|
clearPackageName()
public AndroidApplication.Builder clearPackageName()The package name of the application.
string package_name = 2;
| Returns | |
|---|---|
| Type | Description |
AndroidApplication.Builder |
This builder for chaining. |
clearSha1Fingerprint()
public AndroidApplication.Builder clearSha1Fingerprint()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 |
AndroidApplication.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AndroidApplication getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AndroidApplication |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AndroidApplication other)
public AndroidApplication.Builder mergeFrom(AndroidApplication other)| Parameter | |
|---|---|
| Name | Description |
other |
AndroidApplication |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AndroidApplication.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AndroidApplication.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication.Builder |
|
setPackageName(String value)
public AndroidApplication.Builder setPackageName(String value)The package name of the application.
string package_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe packageName to set. |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication.Builder |
This builder for chaining. |
setPackageNameBytes(ByteString value)
public AndroidApplication.Builder setPackageNameBytes(ByteString value)The package name of the application.
string package_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for packageName to set. |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication.Builder |
This builder for chaining. |
setSha1Fingerprint(String value)
public AndroidApplication.Builder setSha1Fingerprint(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sha1Fingerprint to set. |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication.Builder |
This builder for chaining. |
setSha1FingerprintBytes(ByteString value)
public AndroidApplication.Builder setSha1FingerprintBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sha1Fingerprint to set. |
| Returns | |
|---|---|
| Type | Description |
AndroidApplication.Builder |
This builder for chaining. |