Class AndroidApplication.Builder (0.46.0)

public static final class AndroidApplication.Builder extends GeneratedMessageV3.Builder<AndroidApplication.Builder> implements AndroidApplicationOrBuilder

Identifier of an Android application for key use.

Protobuf type google.api.apikeys.v2.AndroidApplication

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AndroidApplication.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AndroidApplication.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public AndroidApplication.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AndroidApplication.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AndroidApplication.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AndroidApplication.Builder
Overrides

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.

clone()

public AndroidApplication.Builder clone()
Returns
Type Description
AndroidApplication.Builder
Overrides

getDefaultInstanceForType()

public AndroidApplication getDefaultInstanceForType()
Returns
Type Description
AndroidApplication

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AndroidApplication.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AndroidApplication.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AndroidApplication.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AndroidApplication.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AndroidApplication.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AndroidApplication.Builder
Overrides

setPackageName(String value)

public AndroidApplication.Builder setPackageName(String value)

The package name of the application.

string package_name = 2;

Parameter
Name Description
value String

The 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 ByteString

The bytes for packageName to set.

Returns
Type Description
AndroidApplication.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AndroidApplication.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AndroidApplication.Builder
Overrides

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 String

The 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 ByteString

The bytes for sha1Fingerprint to set.

Returns
Type Description
AndroidApplication.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AndroidApplication.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AndroidApplication.Builder
Overrides