Class FunnelResponseMetadata.Builder (0.21.0)

public static final class FunnelResponseMetadata.Builder extends GeneratedMessageV3.Builder<FunnelResponseMetadata.Builder> implements FunnelResponseMetadataOrBuilder

The funnel report's response metadata carries additional information about the funnel report.

Protobuf type google.analytics.data.v1alpha.FunnelResponseMetadata

Static Methods

getDescriptor()

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

Methods

addAllSamplingMetadatas(Iterable<? extends SamplingMetadata> values)

public FunnelResponseMetadata.Builder addAllSamplingMetadatas(Iterable<? extends SamplingMetadata> values)

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.data.v1alpha.SamplingMetadata>
Returns
TypeDescription
FunnelResponseMetadata.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSamplingMetadatas(SamplingMetadata value)

public FunnelResponseMetadata.Builder addSamplingMetadatas(SamplingMetadata value)

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Parameter
NameDescription
valueSamplingMetadata
Returns
TypeDescription
FunnelResponseMetadata.Builder

addSamplingMetadatas(SamplingMetadata.Builder builderForValue)

public FunnelResponseMetadata.Builder addSamplingMetadatas(SamplingMetadata.Builder builderForValue)

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Parameter
NameDescription
builderForValueSamplingMetadata.Builder
Returns
TypeDescription
FunnelResponseMetadata.Builder

addSamplingMetadatas(int index, SamplingMetadata value)

public FunnelResponseMetadata.Builder addSamplingMetadatas(int index, SamplingMetadata value)

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Parameters
NameDescription
indexint
valueSamplingMetadata
Returns
TypeDescription
FunnelResponseMetadata.Builder

addSamplingMetadatas(int index, SamplingMetadata.Builder builderForValue)

public FunnelResponseMetadata.Builder addSamplingMetadatas(int index, SamplingMetadata.Builder builderForValue)

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Parameters
NameDescription
indexint
builderForValueSamplingMetadata.Builder
Returns
TypeDescription
FunnelResponseMetadata.Builder

addSamplingMetadatasBuilder()

public SamplingMetadata.Builder addSamplingMetadatasBuilder()

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Returns
TypeDescription
SamplingMetadata.Builder

addSamplingMetadatasBuilder(int index)

public SamplingMetadata.Builder addSamplingMetadatasBuilder(int index)

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SamplingMetadata.Builder

build()

public FunnelResponseMetadata build()
Returns
TypeDescription
FunnelResponseMetadata

buildPartial()

public FunnelResponseMetadata buildPartial()
Returns
TypeDescription
FunnelResponseMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSamplingMetadatas()

public FunnelResponseMetadata.Builder clearSamplingMetadatas()

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Returns
TypeDescription
FunnelResponseMetadata.Builder

clone()

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

getDefaultInstanceForType()

public FunnelResponseMetadata getDefaultInstanceForType()
Returns
TypeDescription
FunnelResponseMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSamplingMetadatas(int index)

public SamplingMetadata getSamplingMetadatas(int index)

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SamplingMetadata

getSamplingMetadatasBuilder(int index)

public SamplingMetadata.Builder getSamplingMetadatasBuilder(int index)

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SamplingMetadata.Builder

getSamplingMetadatasBuilderList()

public List<SamplingMetadata.Builder> getSamplingMetadatasBuilderList()

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Returns
TypeDescription
List<Builder>

getSamplingMetadatasCount()

public int getSamplingMetadatasCount()

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Returns
TypeDescription
int

getSamplingMetadatasList()

public List<SamplingMetadata> getSamplingMetadatasList()

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Returns
TypeDescription
List<SamplingMetadata>

getSamplingMetadatasOrBuilder(int index)

public SamplingMetadataOrBuilder getSamplingMetadatasOrBuilder(int index)

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SamplingMetadataOrBuilder

getSamplingMetadatasOrBuilderList()

public List<? extends SamplingMetadataOrBuilder> getSamplingMetadatasOrBuilderList()

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Returns
TypeDescription
List<? extends com.google.analytics.data.v1alpha.SamplingMetadataOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FunnelResponseMetadata other)

public FunnelResponseMetadata.Builder mergeFrom(FunnelResponseMetadata other)
Parameter
NameDescription
otherFunnelResponseMetadata
Returns
TypeDescription
FunnelResponseMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSamplingMetadatas(int index)

public FunnelResponseMetadata.Builder removeSamplingMetadatas(int index)

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
FunnelResponseMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSamplingMetadatas(int index, SamplingMetadata value)

public FunnelResponseMetadata.Builder setSamplingMetadatas(int index, SamplingMetadata value)

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Parameters
NameDescription
indexint
valueSamplingMetadata
Returns
TypeDescription
FunnelResponseMetadata.Builder

setSamplingMetadatas(int index, SamplingMetadata.Builder builderForValue)

public FunnelResponseMetadata.Builder setSamplingMetadatas(int index, SamplingMetadata.Builder builderForValue)

If funnel report results are sampled, this describes what percentage of events were used in this funnel report. One samplingMetadatas is populated for each date range. Each samplingMetadatas corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.

repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1;

Parameters
NameDescription
indexint
builderForValueSamplingMetadata.Builder
Returns
TypeDescription
FunnelResponseMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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