Class DataStream.AndroidAppStreamData.Builder (0.65.0)

public static final class DataStream.AndroidAppStreamData.Builder extends GeneratedMessageV3.Builder<DataStream.AndroidAppStreamData.Builder> implements DataStream.AndroidAppStreamDataOrBuilder

Data specific to Android app streams.

Protobuf type google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataStream.AndroidAppStreamData build()
Returns
Type Description
DataStream.AndroidAppStreamData

buildPartial()

public DataStream.AndroidAppStreamData buildPartial()
Returns
Type Description
DataStream.AndroidAppStreamData

clear()

public DataStream.AndroidAppStreamData.Builder clear()
Returns
Type Description
DataStream.AndroidAppStreamData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearFirebaseAppId()

public DataStream.AndroidAppStreamData.Builder clearFirebaseAppId()

Output only. ID of the corresponding Android app in Firebase, if any. This ID can change if the Android app is deleted and recreated.

string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataStream.AndroidAppStreamData.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPackageName()

public DataStream.AndroidAppStreamData.Builder clearPackageName()

Immutable. The package name for the app being measured. Example: "com.example.myandroidapp"

string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
DataStream.AndroidAppStreamData.Builder

This builder for chaining.

clone()

public DataStream.AndroidAppStreamData.Builder clone()
Returns
Type Description
DataStream.AndroidAppStreamData.Builder
Overrides

getDefaultInstanceForType()

public DataStream.AndroidAppStreamData getDefaultInstanceForType()
Returns
Type Description
DataStream.AndroidAppStreamData

getDescriptorForType()

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

getFirebaseAppId()

public String getFirebaseAppId()

Output only. ID of the corresponding Android app in Firebase, if any. This ID can change if the Android app is deleted and recreated.

string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The firebaseAppId.

getFirebaseAppIdBytes()

public ByteString getFirebaseAppIdBytes()

Output only. ID of the corresponding Android app in Firebase, if any. This ID can change if the Android app is deleted and recreated.

string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for firebaseAppId.

getPackageName()

public String getPackageName()

Immutable. The package name for the app being measured. Example: "com.example.myandroidapp"

string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The packageName.

getPackageNameBytes()

public ByteString getPackageNameBytes()

Immutable. The package name for the app being measured. Example: "com.example.myandroidapp"

string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for packageName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataStream.AndroidAppStreamData other)

public DataStream.AndroidAppStreamData.Builder mergeFrom(DataStream.AndroidAppStreamData other)
Parameter
Name Description
other DataStream.AndroidAppStreamData
Returns
Type Description
DataStream.AndroidAppStreamData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataStream.AndroidAppStreamData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStream.AndroidAppStreamData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFirebaseAppId(String value)

public DataStream.AndroidAppStreamData.Builder setFirebaseAppId(String value)

Output only. ID of the corresponding Android app in Firebase, if any. This ID can change if the Android app is deleted and recreated.

string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The firebaseAppId to set.

Returns
Type Description
DataStream.AndroidAppStreamData.Builder

This builder for chaining.

setFirebaseAppIdBytes(ByteString value)

public DataStream.AndroidAppStreamData.Builder setFirebaseAppIdBytes(ByteString value)

Output only. ID of the corresponding Android app in Firebase, if any. This ID can change if the Android app is deleted and recreated.

string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for firebaseAppId to set.

Returns
Type Description
DataStream.AndroidAppStreamData.Builder

This builder for chaining.

setPackageName(String value)

public DataStream.AndroidAppStreamData.Builder setPackageName(String value)

Immutable. The package name for the app being measured. Example: "com.example.myandroidapp"

string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The packageName to set.

Returns
Type Description
DataStream.AndroidAppStreamData.Builder

This builder for chaining.

setPackageNameBytes(ByteString value)

public DataStream.AndroidAppStreamData.Builder setPackageNameBytes(ByteString value)

Immutable. The package name for the app being measured. Example: "com.example.myandroidapp"

string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for packageName to set.

Returns
Type Description
DataStream.AndroidAppStreamData.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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