Class AppInfo.Builder (0.14.1)

public static final class AppInfo.Builder extends GeneratedMessageV3.Builder<AppInfo.Builder> implements AppInfoOrBuilder

Message which contains App Information.

Protobuf type google.events.firebase.analytics.v1.AppInfo

Implements

AppInfoOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AppInfo build()
Returns
TypeDescription
AppInfo

buildPartial()

public AppInfo buildPartial()
Returns
TypeDescription
AppInfo

clear()

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

clearAppId()

public AppInfo.Builder clearAppId()

Unique application identifier within an app store.

string app_id = 5;

Returns
TypeDescription
AppInfo.Builder

This builder for chaining.

clearAppInstanceId()

public AppInfo.Builder clearAppInstanceId()

Unique id for this instance of the app. Example: "71683BF9FA3B4B0D9535A1F05188BAF3"

string app_instance_id = 2;

Returns
TypeDescription
AppInfo.Builder

This builder for chaining.

clearAppPlatform()

public AppInfo.Builder clearAppPlatform()

The app platform. Eg "ANDROID", "IOS".

string app_platform = 4;

Returns
TypeDescription
AppInfo.Builder

This builder for chaining.

clearAppStore()

public AppInfo.Builder clearAppStore()

The identifier of the store that installed the app. Eg. "com.sec.android.app.samsungapps", "com.amazon.venezia", "com.nokia.nstore"

string app_store = 3;

Returns
TypeDescription
AppInfo.Builder

This builder for chaining.

clearAppVersion()

public AppInfo.Builder clearAppVersion()

The app's version name Examples: "1.0", "4.3.1.1.213361", "2.3 (1824253)", "v1.8b22p6"

string app_version = 1;

Returns
TypeDescription
AppInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAppId()

public String getAppId()

Unique application identifier within an app store.

string app_id = 5;

Returns
TypeDescription
String

The appId.

getAppIdBytes()

public ByteString getAppIdBytes()

Unique application identifier within an app store.

string app_id = 5;

Returns
TypeDescription
ByteString

The bytes for appId.

getAppInstanceId()

public String getAppInstanceId()

Unique id for this instance of the app. Example: "71683BF9FA3B4B0D9535A1F05188BAF3"

string app_instance_id = 2;

Returns
TypeDescription
String

The appInstanceId.

getAppInstanceIdBytes()

public ByteString getAppInstanceIdBytes()

Unique id for this instance of the app. Example: "71683BF9FA3B4B0D9535A1F05188BAF3"

string app_instance_id = 2;

Returns
TypeDescription
ByteString

The bytes for appInstanceId.

getAppPlatform()

public String getAppPlatform()

The app platform. Eg "ANDROID", "IOS".

string app_platform = 4;

Returns
TypeDescription
String

The appPlatform.

getAppPlatformBytes()

public ByteString getAppPlatformBytes()

The app platform. Eg "ANDROID", "IOS".

string app_platform = 4;

Returns
TypeDescription
ByteString

The bytes for appPlatform.

getAppStore()

public String getAppStore()

The identifier of the store that installed the app. Eg. "com.sec.android.app.samsungapps", "com.amazon.venezia", "com.nokia.nstore"

string app_store = 3;

Returns
TypeDescription
String

The appStore.

getAppStoreBytes()

public ByteString getAppStoreBytes()

The identifier of the store that installed the app. Eg. "com.sec.android.app.samsungapps", "com.amazon.venezia", "com.nokia.nstore"

string app_store = 3;

Returns
TypeDescription
ByteString

The bytes for appStore.

getAppVersion()

public String getAppVersion()

The app's version name Examples: "1.0", "4.3.1.1.213361", "2.3 (1824253)", "v1.8b22p6"

string app_version = 1;

Returns
TypeDescription
String

The appVersion.

getAppVersionBytes()

public ByteString getAppVersionBytes()

The app's version name Examples: "1.0", "4.3.1.1.213361", "2.3 (1824253)", "v1.8b22p6"

string app_version = 1;

Returns
TypeDescription
ByteString

The bytes for appVersion.

getDefaultInstanceForType()

public AppInfo getDefaultInstanceForType()
Returns
TypeDescription
AppInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AppInfo other)

public AppInfo.Builder mergeFrom(AppInfo other)
Parameter
NameDescription
otherAppInfo
Returns
TypeDescription
AppInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAppId(String value)

public AppInfo.Builder setAppId(String value)

Unique application identifier within an app store.

string app_id = 5;

Parameter
NameDescription
valueString

The appId to set.

Returns
TypeDescription
AppInfo.Builder

This builder for chaining.

setAppIdBytes(ByteString value)

public AppInfo.Builder setAppIdBytes(ByteString value)

Unique application identifier within an app store.

string app_id = 5;

Parameter
NameDescription
valueByteString

The bytes for appId to set.

Returns
TypeDescription
AppInfo.Builder

This builder for chaining.

setAppInstanceId(String value)

public AppInfo.Builder setAppInstanceId(String value)

Unique id for this instance of the app. Example: "71683BF9FA3B4B0D9535A1F05188BAF3"

string app_instance_id = 2;

Parameter
NameDescription
valueString

The appInstanceId to set.

Returns
TypeDescription
AppInfo.Builder

This builder for chaining.

setAppInstanceIdBytes(ByteString value)

public AppInfo.Builder setAppInstanceIdBytes(ByteString value)

Unique id for this instance of the app. Example: "71683BF9FA3B4B0D9535A1F05188BAF3"

string app_instance_id = 2;

Parameter
NameDescription
valueByteString

The bytes for appInstanceId to set.

Returns
TypeDescription
AppInfo.Builder

This builder for chaining.

setAppPlatform(String value)

public AppInfo.Builder setAppPlatform(String value)

The app platform. Eg "ANDROID", "IOS".

string app_platform = 4;

Parameter
NameDescription
valueString

The appPlatform to set.

Returns
TypeDescription
AppInfo.Builder

This builder for chaining.

setAppPlatformBytes(ByteString value)

public AppInfo.Builder setAppPlatformBytes(ByteString value)

The app platform. Eg "ANDROID", "IOS".

string app_platform = 4;

Parameter
NameDescription
valueByteString

The bytes for appPlatform to set.

Returns
TypeDescription
AppInfo.Builder

This builder for chaining.

setAppStore(String value)

public AppInfo.Builder setAppStore(String value)

The identifier of the store that installed the app. Eg. "com.sec.android.app.samsungapps", "com.amazon.venezia", "com.nokia.nstore"

string app_store = 3;

Parameter
NameDescription
valueString

The appStore to set.

Returns
TypeDescription
AppInfo.Builder

This builder for chaining.

setAppStoreBytes(ByteString value)

public AppInfo.Builder setAppStoreBytes(ByteString value)

The identifier of the store that installed the app. Eg. "com.sec.android.app.samsungapps", "com.amazon.venezia", "com.nokia.nstore"

string app_store = 3;

Parameter
NameDescription
valueByteString

The bytes for appStore to set.

Returns
TypeDescription
AppInfo.Builder

This builder for chaining.

setAppVersion(String value)

public AppInfo.Builder setAppVersion(String value)

The app's version name Examples: "1.0", "4.3.1.1.213361", "2.3 (1824253)", "v1.8b22p6"

string app_version = 1;

Parameter
NameDescription
valueString

The appVersion to set.

Returns
TypeDescription
AppInfo.Builder

This builder for chaining.

setAppVersionBytes(ByteString value)

public AppInfo.Builder setAppVersionBytes(ByteString value)

The app's version name Examples: "1.0", "4.3.1.1.213361", "2.3 (1824253)", "v1.8b22p6"

string app_version = 1;

Parameter
NameDescription
valueByteString

The bytes for appVersion to set.

Returns
TypeDescription
AppInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AppInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AppInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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