Class CohortReportSettings.Builder (0.65.0)

public static final class CohortReportSettings.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CohortReportSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CohortReportSettings.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public CohortReportSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CohortReportSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CohortReportSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CohortReportSettings.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CohortReportSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public CohortReportSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CohortReportSettings.Builder
Overrides

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

public CohortReportSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CohortReportSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CohortReportSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CohortReportSettings.Builder
Overrides