Class DataStream.WebStreamData.Builder (0.51.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.v1alpha.DataStream.WebStreamData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public DataStream.WebStreamData.Builder clear()
Returns
TypeDescription
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
TypeDescription
DataStream.WebStreamData.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataStream.WebStreamData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DataStream.WebStreamData.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public DataStream.WebStreamData getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for defaultUri.

getDescriptorForType()

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

The bytes for measurementId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataStream.WebStreamData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataStream.WebStreamData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The defaultUri to set.

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

The bytes for defaultUri to set.

Returns
TypeDescription
DataStream.WebStreamData.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The firebaseAppId to set.

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

The bytes for firebaseAppId to set.

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

The measurementId to set.

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

The bytes for measurementId to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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