Class CohortReportSettings.Builder (0.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CohortReportSettings build()
Returns
TypeDescription
CohortReportSettings

buildPartial()

public CohortReportSettings buildPartial()
Returns
TypeDescription
CohortReportSettings

clear()

public CohortReportSettings.Builder clear()
Returns
TypeDescription
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
TypeDescription
CohortReportSettings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CohortReportSettings.Builder clone()
Returns
TypeDescription
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
TypeDescription
boolean

The accumulate.

getDefaultInstanceForType()

public CohortReportSettings getDefaultInstanceForType()
Returns
TypeDescription
CohortReportSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CohortReportSettings other)

public CohortReportSettings.Builder mergeFrom(CohortReportSettings other)
Parameter
NameDescription
otherCohortReportSettings
Returns
TypeDescription
CohortReportSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CohortReportSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The accumulate to set.

Returns
TypeDescription
CohortReportSettings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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