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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AppInfo.BuilderImplements
AppInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AppInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AppInfo.Builder |
build()
public AppInfo build()
Returns | |
---|---|
Type | Description |
AppInfo |
buildPartial()
public AppInfo buildPartial()
Returns | |
---|---|
Type | Description |
AppInfo |
clear()
public AppInfo.Builder clear()
Returns | |
---|---|
Type | Description |
AppInfo.Builder |
clearAppId()
public AppInfo.Builder clearAppId()
Unique application identifier within an app store.
string app_id = 5;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
AppInfo.Builder |
This builder for chaining. |
clearAppPlatform()
public AppInfo.Builder clearAppPlatform()
The app platform. Eg "ANDROID", "IOS".
string app_platform = 4;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
AppInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AppInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AppInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AppInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AppInfo.Builder |
clone()
public AppInfo.Builder clone()
Returns | |
---|---|
Type | Description |
AppInfo.Builder |
getAppId()
public String getAppId()
Unique application identifier within an app store.
string app_id = 5;
Returns | |
---|---|
Type | Description |
String |
The appId. |
getAppIdBytes()
public ByteString getAppIdBytes()
Unique application identifier within an app store.
string app_id = 5;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
The appInstanceId. |
getAppInstanceIdBytes()
public ByteString getAppInstanceIdBytes()
Unique id for this instance of the app. Example: "71683BF9FA3B4B0D9535A1F05188BAF3"
string app_instance_id = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for appInstanceId. |
getAppPlatform()
public String getAppPlatform()
The app platform. Eg "ANDROID", "IOS".
string app_platform = 4;
Returns | |
---|---|
Type | Description |
String |
The appPlatform. |
getAppPlatformBytes()
public ByteString getAppPlatformBytes()
The app platform. Eg "ANDROID", "IOS".
string app_platform = 4;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString |
The bytes for appVersion. |
getDefaultInstanceForType()
public AppInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AppInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AppInfo other)
public AppInfo.Builder mergeFrom(AppInfo other)
Parameter | |
---|---|
Name | Description |
other |
AppInfo |
Returns | |
---|---|
Type | Description |
AppInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AppInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AppInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AppInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AppInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AppInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AppInfo.Builder |
setAppId(String value)
public AppInfo.Builder setAppId(String value)
Unique application identifier within an app store.
string app_id = 5;
Parameter | |
---|---|
Name | Description |
value |
String The appId to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for appId to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
String The appInstanceId to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for appInstanceId to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
String The appPlatform to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for appPlatform to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
String The appStore to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for appStore to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
String The appVersion to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for appVersion to set. |
Returns | |
---|---|
Type | Description |
AppInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AppInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AppInfo.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AppInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AppInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AppInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AppInfo.Builder |