Class DataStream.AndroidAppStreamData.Builder (0.21.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.v1beta.DataStream.AndroidAppStreamData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataStream.AndroidAppStreamData build()
Returns
TypeDescription
DataStream.AndroidAppStreamData

buildPartial()

public DataStream.AndroidAppStreamData buildPartial()
Returns
TypeDescription
DataStream.AndroidAppStreamData

clear()

public DataStream.AndroidAppStreamData.Builder clear()
Returns
TypeDescription
DataStream.AndroidAppStreamData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DataStream.AndroidAppStreamData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DataStream.AndroidAppStreamData.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataStream.AndroidAppStreamData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DataStream.AndroidAppStreamData.Builder

This builder for chaining.

clone()

public DataStream.AndroidAppStreamData.Builder clone()
Returns
TypeDescription
DataStream.AndroidAppStreamData.Builder
Overrides

getDefaultInstanceForType()

public DataStream.AndroidAppStreamData getDefaultInstanceForType()
Returns
TypeDescription
DataStream.AndroidAppStreamData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for packageName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataStream.AndroidAppStreamData other)

public DataStream.AndroidAppStreamData.Builder mergeFrom(DataStream.AndroidAppStreamData other)
Parameter
NameDescription
otherDataStream.AndroidAppStreamData
Returns
TypeDescription
DataStream.AndroidAppStreamData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public DataStream.AndroidAppStreamData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The firebaseAppId to set.

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

The bytes for firebaseAppId to set.

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

The packageName to set.

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

The bytes for packageName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataStream.AndroidAppStreamData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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