public static final class SamplingMetadata.Builder extends GeneratedMessageV3.Builder<SamplingMetadata.Builder> implements SamplingMetadataOrBuilder
If funnel report results are
sampled, this
metadata describes what percentage of events were used in this funnel
report for a date range. Sampling is the practice of analyzing a subset of
all data in order to uncover the meaningful information in the larger data
set.
Protobuf type google.analytics.data.v1alpha.SamplingMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public SamplingMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SamplingMetadata build()
public SamplingMetadata buildPartial()
public SamplingMetadata.Builder clear()
Overrides
public SamplingMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public SamplingMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public SamplingMetadata.Builder clearSamplesReadCount()
The total number of events read in this sampled report for a date range.
This is the size of the subset this property's data that was analyzed in
this funnel report.
int64 samples_read_count = 1;
public SamplingMetadata.Builder clearSamplingSpaceSize()
The total number of events present in this property's data that could
have been analyzed in this funnel report for a date range. Sampling
uncovers the meaningful information about the larger data set, and this
is the size of the larger data set.
To calculate the percentage of available data that was used in this
funnel report, compute samplesReadCount/samplingSpaceSize
.
int64 sampling_space_size = 2;
public SamplingMetadata.Builder clone()
Overrides
public SamplingMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public long getSamplesReadCount()
The total number of events read in this sampled report for a date range.
This is the size of the subset this property's data that was analyzed in
this funnel report.
int64 samples_read_count = 1;
Returns |
---|
Type | Description |
long | The samplesReadCount.
|
public long getSamplingSpaceSize()
The total number of events present in this property's data that could
have been analyzed in this funnel report for a date range. Sampling
uncovers the meaningful information about the larger data set, and this
is the size of the larger data set.
To calculate the percentage of available data that was used in this
funnel report, compute samplesReadCount/samplingSpaceSize
.
int64 sampling_space_size = 2;
Returns |
---|
Type | Description |
long | The samplingSpaceSize.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public SamplingMetadata.Builder mergeFrom(SamplingMetadata other)
public SamplingMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public SamplingMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final SamplingMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public SamplingMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SamplingMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public SamplingMetadata.Builder setSamplesReadCount(long value)
The total number of events read in this sampled report for a date range.
This is the size of the subset this property's data that was analyzed in
this funnel report.
int64 samples_read_count = 1;
Parameter |
---|
Name | Description |
value | long
The samplesReadCount to set.
|
public SamplingMetadata.Builder setSamplingSpaceSize(long value)
The total number of events present in this property's data that could
have been analyzed in this funnel report for a date range. Sampling
uncovers the meaningful information about the larger data set, and this
is the size of the larger data set.
To calculate the percentage of available data that was used in this
funnel report, compute samplesReadCount/samplingSpaceSize
.
int64 sampling_space_size = 2;
Parameter |
---|
Name | Description |
value | long
The samplingSpaceSize to set.
|
public final SamplingMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides