Class DataStream.WebStreamData.Builder (0.93.0)

public static final class DataStream.WebStreamData.Builder extends GeneratedMessage.Builder<DataStream.WebStreamData.Builder> implements DataStream.WebStreamDataOrBuilder

Data specific to web streams.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearDefaultUri()

public DataStream.WebStreamData.Builder clearDefaultUri()

Domain name of the web app being measured, or empty. Example: "http://www.google.com", "https://www.google.com"

string default_uri = 3;

Returns
Type Description
DataStream.WebStreamData.Builder

This builder for chaining.

clearFirebaseAppId()

public DataStream.WebStreamData.Builder clearFirebaseAppId()

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

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

Returns
Type Description
DataStream.WebStreamData.Builder

This builder for chaining.

clearMeasurementId()

public DataStream.WebStreamData.Builder clearMeasurementId()

Output only. Analytics Measurement ID.

Example: "G-1A2BCD345E"

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

Returns
Type Description
DataStream.WebStreamData.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDefaultUri()

public String getDefaultUri()

Domain name of the web app being measured, or empty. Example: "http://www.google.com", "https://www.google.com"

string default_uri = 3;

Returns
Type Description
String

The defaultUri.

getDefaultUriBytes()

public ByteString getDefaultUriBytes()

Domain name of the web app being measured, or empty. Example: "http://www.google.com", "https://www.google.com"

string default_uri = 3;

Returns
Type Description
ByteString

The bytes for defaultUri.

getDescriptorForType()

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

getFirebaseAppId()

public String getFirebaseAppId()

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

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

Returns
Type Description
String

The firebaseAppId.

getFirebaseAppIdBytes()

public ByteString getFirebaseAppIdBytes()

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

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

Returns
Type Description
ByteString

The bytes for firebaseAppId.

getMeasurementId()

public String getMeasurementId()

Output only. Analytics Measurement ID.

Example: "G-1A2BCD345E"

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

Returns
Type Description
String

The measurementId.

getMeasurementIdBytes()

public ByteString getMeasurementIdBytes()

Output only. Analytics Measurement ID.

Example: "G-1A2BCD345E"

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

Returns
Type Description
ByteString

The bytes for measurementId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataStream.WebStreamData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDefaultUri(String value)

public DataStream.WebStreamData.Builder setDefaultUri(String value)

Domain name of the web app being measured, or empty. Example: "http://www.google.com", "https://www.google.com"

string default_uri = 3;

Parameter
Name Description
value String

The defaultUri to set.

Returns
Type Description
DataStream.WebStreamData.Builder

This builder for chaining.

setDefaultUriBytes(ByteString value)

public DataStream.WebStreamData.Builder setDefaultUriBytes(ByteString value)

Domain name of the web app being measured, or empty. Example: "http://www.google.com", "https://www.google.com"

string default_uri = 3;

Parameter
Name Description
value ByteString

The bytes for defaultUri to set.

Returns
Type Description
DataStream.WebStreamData.Builder

This builder for chaining.

setFirebaseAppId(String value)

public DataStream.WebStreamData.Builder setFirebaseAppId(String value)

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

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

Parameter
Name Description
value String

The firebaseAppId to set.

Returns
Type Description
DataStream.WebStreamData.Builder

This builder for chaining.

setFirebaseAppIdBytes(ByteString value)

public DataStream.WebStreamData.Builder setFirebaseAppIdBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for firebaseAppId to set.

Returns
Type Description
DataStream.WebStreamData.Builder

This builder for chaining.

setMeasurementId(String value)

public DataStream.WebStreamData.Builder setMeasurementId(String value)

Output only. Analytics Measurement ID.

Example: "G-1A2BCD345E"

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

Parameter
Name Description
value String

The measurementId to set.

Returns
Type Description
DataStream.WebStreamData.Builder

This builder for chaining.

setMeasurementIdBytes(ByteString value)

public DataStream.WebStreamData.Builder setMeasurementIdBytes(ByteString value)

Output only. Analytics Measurement ID.

Example: "G-1A2BCD345E"

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

Parameter
Name Description
value ByteString

The bytes for measurementId to set.

Returns
Type Description
DataStream.WebStreamData.Builder

This builder for chaining.