Class DataStream.WebStreamData.Builder (0.57.0)

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

Data specific to web streams.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataStream.WebStreamData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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