Class ExpandedDataSet (0.62.0)

public final class ExpandedDataSet extends GeneratedMessageV3 implements ExpandedDataSetOrBuilder

A resource message representing a GA4 ExpandedDataSet.

Protobuf type google.analytics.admin.v1alpha.ExpandedDataSet

Static Fields

DATA_COLLECTION_START_TIME_FIELD_NUMBER

public static final int DATA_COLLECTION_START_TIME_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DIMENSION_FILTER_EXPRESSION_FIELD_NUMBER

public static final int DIMENSION_FILTER_EXPRESSION_FIELD_NUMBER
Field Value
Type Description
int

DIMENSION_NAMES_FIELD_NUMBER

public static final int DIMENSION_NAMES_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

METRIC_NAMES_FIELD_NUMBER

public static final int METRIC_NAMES_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExpandedDataSet getDefaultInstance()
Returns
Type Description
ExpandedDataSet

getDescriptor()

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

newBuilder()

public static ExpandedDataSet.Builder newBuilder()
Returns
Type Description
ExpandedDataSet.Builder

newBuilder(ExpandedDataSet prototype)

public static ExpandedDataSet.Builder newBuilder(ExpandedDataSet prototype)
Parameter
Name Description
prototype ExpandedDataSet
Returns
Type Description
ExpandedDataSet.Builder

parseDelimitedFrom(InputStream input)

public static ExpandedDataSet parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExpandedDataSet
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExpandedDataSet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExpandedDataSet
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExpandedDataSet parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExpandedDataSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExpandedDataSet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExpandedDataSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExpandedDataSet parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExpandedDataSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExpandedDataSet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExpandedDataSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExpandedDataSet parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExpandedDataSet
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExpandedDataSet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExpandedDataSet
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExpandedDataSet parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExpandedDataSet
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExpandedDataSet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExpandedDataSet
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExpandedDataSet parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExpandedDataSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExpandedDataSet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExpandedDataSet
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExpandedDataSet> parser()
Returns
Type Description
Parser<ExpandedDataSet>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
Timestamp

The dataCollectionStartTime.

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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ExpandedDataSet getDefaultInstanceForType()
Returns
Type Description
ExpandedDataSet

getDescription()

public String getDescription()

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

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

Returns
Type Description
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
Type Description
ByteString

The bytes for description.

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
Type Description
ExpandedDataSetFilterExpression

The dimensionFilterExpression.

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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<ExpandedDataSet> getParserForType()
Returns
Type Description
Parser<ExpandedDataSet>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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
Type Description
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
Type Description
boolean

Whether the dimensionFilterExpression field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExpandedDataSet.Builder newBuilderForType()
Returns
Type Description
ExpandedDataSet.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExpandedDataSet.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExpandedDataSet.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ExpandedDataSet.Builder toBuilder()
Returns
Type Description
ExpandedDataSet.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException