Class CohortReportSettings.Builder (0.94.0)

public static final class CohortReportSettings.Builder extends GeneratedMessage.Builder<CohortReportSettings.Builder> implements CohortReportSettingsOrBuilder

Optional settings of a cohort report.

Protobuf type google.analytics.data.v1beta.CohortReportSettings

Static Methods

getDescriptor()

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

Methods

build()

public CohortReportSettings build()
Returns
Type Description
CohortReportSettings

buildPartial()

public CohortReportSettings buildPartial()
Returns
Type Description
CohortReportSettings

clear()

public CohortReportSettings.Builder clear()
Returns
Type Description
CohortReportSettings.Builder
Overrides

clearAccumulate()

public CohortReportSettings.Builder clearAccumulate()

If true, accumulates the result from first touch day to the end day. Not supported in RunReportRequest.

bool accumulate = 1;

Returns
Type Description
CohortReportSettings.Builder

This builder for chaining.

getAccumulate()

public boolean getAccumulate()

If true, accumulates the result from first touch day to the end day. Not supported in RunReportRequest.

bool accumulate = 1;

Returns
Type Description
boolean

The accumulate.

getDefaultInstanceForType()

public CohortReportSettings getDefaultInstanceForType()
Returns
Type Description
CohortReportSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CohortReportSettings other)

public CohortReportSettings.Builder mergeFrom(CohortReportSettings other)
Parameter
Name Description
other CohortReportSettings
Returns
Type Description
CohortReportSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CohortReportSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CohortReportSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CohortReportSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CohortReportSettings.Builder
Overrides

setAccumulate(boolean value)

public CohortReportSettings.Builder setAccumulate(boolean value)

If true, accumulates the result from first touch day to the end day. Not supported in RunReportRequest.

bool accumulate = 1;

Parameter
Name Description
value boolean

The accumulate to set.

Returns
Type Description
CohortReportSettings.Builder

This builder for chaining.