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.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()
Returns
Methods
public SamplingMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public SamplingMetadata build()
Returns
public SamplingMetadata buildPartial()
Returns
public SamplingMetadata.Builder clear()
Returns
Overrides
public SamplingMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public SamplingMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
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;
Returns
public SamplingMetadata.Builder clone()
Returns
Overrides
public SamplingMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public SamplingMetadata.Builder mergeFrom(SamplingMetadata other)
Parameter
Returns
public SamplingMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public SamplingMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final SamplingMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public SamplingMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public SamplingMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
public final SamplingMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides