Class AndroidApplication.Builder (0.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AndroidApplication.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AndroidApplication.Builder
Overrides

build()

public AndroidApplication build()
Returns
TypeDescription
AndroidApplication

buildPartial()

public AndroidApplication buildPartial()
Returns
TypeDescription
AndroidApplication

clear()

public AndroidApplication.Builder clear()
Returns
TypeDescription
AndroidApplication.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AndroidApplication.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AndroidApplication.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AndroidApplication.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AndroidApplication.Builder
Overrides

clearPackageName()

public AndroidApplication.Builder clearPackageName()

The package name of the application.

string package_name = 2;

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

This builder for chaining.

clone()

public AndroidApplication.Builder clone()
Returns
TypeDescription
AndroidApplication.Builder
Overrides

getDefaultInstanceForType()

public AndroidApplication getDefaultInstanceForType()
Returns
TypeDescription
AndroidApplication

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AndroidApplication other)

public AndroidApplication.Builder mergeFrom(AndroidApplication other)
Parameter
NameDescription
otherAndroidApplication
Returns
TypeDescription
AndroidApplication.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AndroidApplication.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AndroidApplication.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AndroidApplication.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AndroidApplication.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AndroidApplication.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AndroidApplication.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AndroidApplication.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AndroidApplication.Builder
Overrides

setPackageName(String value)

public AndroidApplication.Builder setPackageName(String value)

The package name of the application.

string package_name = 2;

Parameter
NameDescription
valueString

The packageName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for packageName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The sha1Fingerprint to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for sha1Fingerprint to set.

Returns
TypeDescription
AndroidApplication.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AndroidApplication.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AndroidApplication.Builder
Overrides