Class ExpandedDataSet.Builder (0.46.0)

public static final class ExpandedDataSet.Builder extends GeneratedMessageV3.Builder<ExpandedDataSet.Builder> implements ExpandedDataSetOrBuilder

A resource message representing a GA4 ExpandedDataSet.

Protobuf type google.analytics.admin.v1alpha.ExpandedDataSet

Static Methods

getDescriptor()

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

Methods

addAllDimensionNames(Iterable<String> values)

public ExpandedDataSet.Builder addAllDimensionNames(Iterable<String> values)

Immutable. The list of dimensions included in the ExpandedDataSet. See the API Dimensions for the list of dimension names.

repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valuesIterable<String>

The dimensionNames to add.

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

addAllMetricNames(Iterable<String> values)

public ExpandedDataSet.Builder addAllMetricNames(Iterable<String> values)

Immutable. The list of metrics included in the ExpandedDataSet. See the API Metrics for the list of dimension names.

repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valuesIterable<String>

The metricNames to add.

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

addDimensionNames(String value)

public ExpandedDataSet.Builder addDimensionNames(String value)

Immutable. The list of dimensions included in the ExpandedDataSet. See the API Dimensions for the list of dimension names.

repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueString

The dimensionNames to add.

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

addDimensionNamesBytes(ByteString value)

public ExpandedDataSet.Builder addDimensionNamesBytes(ByteString value)

Immutable. The list of dimensions included in the ExpandedDataSet. See the API Dimensions for the list of dimension names.

repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueByteString

The bytes of the dimensionNames to add.

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

addMetricNames(String value)

public ExpandedDataSet.Builder addMetricNames(String value)

Immutable. The list of metrics included in the ExpandedDataSet. See the API Metrics for the list of dimension names.

repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueString

The metricNames to add.

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

addMetricNamesBytes(ByteString value)

public ExpandedDataSet.Builder addMetricNamesBytes(ByteString value)

Immutable. The list of metrics included in the ExpandedDataSet. See the API Metrics for the list of dimension names.

repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueByteString

The bytes of the metricNames to add.

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExpandedDataSet build()
Returns
TypeDescription
ExpandedDataSet

buildPartial()

public ExpandedDataSet buildPartial()
Returns
TypeDescription
ExpandedDataSet

clear()

public ExpandedDataSet.Builder clear()
Returns
TypeDescription
ExpandedDataSet.Builder
Overrides

clearDataCollectionStartTime()

public ExpandedDataSet.Builder clearDataCollectionStartTime()

Output only. Time when expanded data set began (or will begin) collecing data.

.google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ExpandedDataSet.Builder

clearDescription()

public ExpandedDataSet.Builder clearDescription()

Optional. The description of the ExpandedDataSet. Max 50 chars.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

clearDimensionFilterExpression()

public ExpandedDataSet.Builder clearDimensionFilterExpression()

Immutable. A logical expression of ExpandedDataSet filters applied to dimension included in the ExpandedDataSet. This filter is used to reduce the number of rows and thus the chance of encountering other row.

.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ExpandedDataSet.Builder

clearDimensionNames()

public ExpandedDataSet.Builder clearDimensionNames()

Immutable. The list of dimensions included in the ExpandedDataSet. See the API Dimensions for the list of dimension names.

repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

clearDisplayName()

public ExpandedDataSet.Builder clearDisplayName()

Required. The display name of the ExpandedDataSet. Max 200 chars.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExpandedDataSet.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExpandedDataSet.Builder
Overrides

clearMetricNames()

public ExpandedDataSet.Builder clearMetricNames()

Immutable. The list of metrics included in the ExpandedDataSet. See the API Metrics for the list of dimension names.

repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

clearName()

public ExpandedDataSet.Builder clearName()

Output only. The resource name for this ExpandedDataSet resource. Format: properties/{property_id}/expandedDataSets/{expanded_data_set}

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

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ExpandedDataSet.Builder clone()
Returns
TypeDescription
ExpandedDataSet.Builder
Overrides

getDataCollectionStartTime()

public Timestamp getDataCollectionStartTime()

Output only. Time when expanded data set began (or will begin) collecing data.

.google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The dataCollectionStartTime.

getDataCollectionStartTimeBuilder()

public Timestamp.Builder getDataCollectionStartTimeBuilder()

Output only. Time when expanded data set began (or will begin) collecing data.

.google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getDataCollectionStartTimeOrBuilder()

public TimestampOrBuilder getDataCollectionStartTimeOrBuilder()

Output only. Time when expanded data set began (or will begin) collecing data.

.google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public ExpandedDataSet getDefaultInstanceForType()
Returns
TypeDescription
ExpandedDataSet

getDescription()

public String getDescription()

Optional. The description of the ExpandedDataSet. Max 50 chars.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. The description of the ExpandedDataSet. Max 50 chars.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDimensionFilterExpression()

public ExpandedDataSetFilterExpression getDimensionFilterExpression()

Immutable. A logical expression of ExpandedDataSet filters applied to dimension included in the ExpandedDataSet. This filter is used to reduce the number of rows and thus the chance of encountering other row.

.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ExpandedDataSetFilterExpression

The dimensionFilterExpression.

getDimensionFilterExpressionBuilder()

public ExpandedDataSetFilterExpression.Builder getDimensionFilterExpressionBuilder()

Immutable. A logical expression of ExpandedDataSet filters applied to dimension included in the ExpandedDataSet. This filter is used to reduce the number of rows and thus the chance of encountering other row.

.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ExpandedDataSetFilterExpression.Builder

getDimensionFilterExpressionOrBuilder()

public ExpandedDataSetFilterExpressionOrBuilder getDimensionFilterExpressionOrBuilder()

Immutable. A logical expression of ExpandedDataSet filters applied to dimension included in the ExpandedDataSet. This filter is used to reduce the number of rows and thus the chance of encountering other row.

.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ExpandedDataSetFilterExpressionOrBuilder

getDimensionNames(int index)

public String getDimensionNames(int index)

Immutable. The list of dimensions included in the ExpandedDataSet. See the API Dimensions for the list of dimension names.

repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The dimensionNames at the given index.

getDimensionNamesBytes(int index)

public ByteString getDimensionNamesBytes(int index)

Immutable. The list of dimensions included in the ExpandedDataSet. See the API Dimensions for the list of dimension names.

repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the dimensionNames at the given index.

getDimensionNamesCount()

public int getDimensionNamesCount()

Immutable. The list of dimensions included in the ExpandedDataSet. See the API Dimensions for the list of dimension names.

repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
int

The count of dimensionNames.

getDimensionNamesList()

public ProtocolStringList getDimensionNamesList()

Immutable. The list of dimensions included in the ExpandedDataSet. See the API Dimensions for the list of dimension names.

repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ProtocolStringList

A list containing the dimensionNames.

getDisplayName()

public String getDisplayName()

Required. The display name of the ExpandedDataSet. Max 200 chars.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The display name of the ExpandedDataSet. Max 200 chars.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for displayName.

getMetricNames(int index)

public String getMetricNames(int index)

Immutable. The list of metrics included in the ExpandedDataSet. See the API Metrics for the list of dimension names.

repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The metricNames at the given index.

getMetricNamesBytes(int index)

public ByteString getMetricNamesBytes(int index)

Immutable. The list of metrics included in the ExpandedDataSet. See the API Metrics for the list of dimension names.

repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the metricNames at the given index.

getMetricNamesCount()

public int getMetricNamesCount()

Immutable. The list of metrics included in the ExpandedDataSet. See the API Metrics for the list of dimension names.

repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
int

The count of metricNames.

getMetricNamesList()

public ProtocolStringList getMetricNamesList()

Immutable. The list of metrics included in the ExpandedDataSet. See the API Metrics for the list of dimension names.

repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ProtocolStringList

A list containing the metricNames.

getName()

public String getName()

Output only. The resource name for this ExpandedDataSet resource. Format: properties/{property_id}/expandedDataSets/{expanded_data_set}

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name for this ExpandedDataSet resource. Format: properties/{property_id}/expandedDataSets/{expanded_data_set}

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

Returns
TypeDescription
ByteString

The bytes for name.

hasDataCollectionStartTime()

public boolean hasDataCollectionStartTime()

Output only. Time when expanded data set began (or will begin) collecing data.

.google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the dataCollectionStartTime field is set.

hasDimensionFilterExpression()

public boolean hasDimensionFilterExpression()

Immutable. A logical expression of ExpandedDataSet filters applied to dimension included in the ExpandedDataSet. This filter is used to reduce the number of rows and thus the chance of encountering other row.

.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

Whether the dimensionFilterExpression field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDataCollectionStartTime(Timestamp value)

public ExpandedDataSet.Builder mergeDataCollectionStartTime(Timestamp value)

Output only. Time when expanded data set began (or will begin) collecing data.

.google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ExpandedDataSet.Builder

mergeDimensionFilterExpression(ExpandedDataSetFilterExpression value)

public ExpandedDataSet.Builder mergeDimensionFilterExpression(ExpandedDataSetFilterExpression value)

Immutable. A logical expression of ExpandedDataSet filters applied to dimension included in the ExpandedDataSet. This filter is used to reduce the number of rows and thus the chance of encountering other row.

.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueExpandedDataSetFilterExpression
Returns
TypeDescription
ExpandedDataSet.Builder

mergeFrom(ExpandedDataSet other)

public ExpandedDataSet.Builder mergeFrom(ExpandedDataSet other)
Parameter
NameDescription
otherExpandedDataSet
Returns
TypeDescription
ExpandedDataSet.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataCollectionStartTime(Timestamp value)

public ExpandedDataSet.Builder setDataCollectionStartTime(Timestamp value)

Output only. Time when expanded data set began (or will begin) collecing data.

.google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ExpandedDataSet.Builder

setDataCollectionStartTime(Timestamp.Builder builderForValue)

public ExpandedDataSet.Builder setDataCollectionStartTime(Timestamp.Builder builderForValue)

Output only. Time when expanded data set began (or will begin) collecing data.

.google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ExpandedDataSet.Builder

setDescription(String value)

public ExpandedDataSet.Builder setDescription(String value)

Optional. The description of the ExpandedDataSet. Max 50 chars.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public ExpandedDataSet.Builder setDescriptionBytes(ByteString value)

Optional. The description of the ExpandedDataSet. Max 50 chars.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

setDimensionFilterExpression(ExpandedDataSetFilterExpression value)

public ExpandedDataSet.Builder setDimensionFilterExpression(ExpandedDataSetFilterExpression value)

Immutable. A logical expression of ExpandedDataSet filters applied to dimension included in the ExpandedDataSet. This filter is used to reduce the number of rows and thus the chance of encountering other row.

.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueExpandedDataSetFilterExpression
Returns
TypeDescription
ExpandedDataSet.Builder

setDimensionFilterExpression(ExpandedDataSetFilterExpression.Builder builderForValue)

public ExpandedDataSet.Builder setDimensionFilterExpression(ExpandedDataSetFilterExpression.Builder builderForValue)

Immutable. A logical expression of ExpandedDataSet filters applied to dimension included in the ExpandedDataSet. This filter is used to reduce the number of rows and thus the chance of encountering other row.

.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
builderForValueExpandedDataSetFilterExpression.Builder
Returns
TypeDescription
ExpandedDataSet.Builder

setDimensionNames(int index, String value)

public ExpandedDataSet.Builder setDimensionNames(int index, String value)

Immutable. The list of dimensions included in the ExpandedDataSet. See the API Dimensions for the list of dimension names.

repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The dimensionNames to set.

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

setDisplayName(String value)

public ExpandedDataSet.Builder setDisplayName(String value)

Required. The display name of the ExpandedDataSet. Max 200 chars.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public ExpandedDataSet.Builder setDisplayNameBytes(ByteString value)

Required. The display name of the ExpandedDataSet. Max 200 chars.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExpandedDataSet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExpandedDataSet.Builder
Overrides

setMetricNames(int index, String value)

public ExpandedDataSet.Builder setMetricNames(int index, String value)

Immutable. The list of metrics included in the ExpandedDataSet. See the API Metrics for the list of dimension names.

repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The metricNames to set.

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

setName(String value)

public ExpandedDataSet.Builder setName(String value)

Output only. The resource name for this ExpandedDataSet resource. Format: properties/{property_id}/expandedDataSets/{expanded_data_set}

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ExpandedDataSet.Builder setNameBytes(ByteString value)

Output only. The resource name for this ExpandedDataSet resource. Format: properties/{property_id}/expandedDataSets/{expanded_data_set}

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
ExpandedDataSet.Builder

This builder for chaining.

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

public ExpandedDataSet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExpandedDataSet.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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