- 0.64.0 (latest)
- 0.63.0
- 0.62.0
- 0.61.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
public static final class AttributionSettings.Builder extends GeneratedMessageV3.Builder<AttributionSettings.Builder> implements AttributionSettingsOrBuilder
The attribution settings used for a given property. This is a singleton resource.
Protobuf type google.analytics.admin.v1alpha.AttributionSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AttributionSettings.BuilderImplements
AttributionSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AttributionSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AttributionSettings.Builder |
build()
public AttributionSettings build()
Type | Description |
AttributionSettings |
buildPartial()
public AttributionSettings buildPartial()
Type | Description |
AttributionSettings |
clear()
public AttributionSettings.Builder clear()
Type | Description |
AttributionSettings.Builder |
clearAcquisitionConversionEventLookbackWindow()
public AttributionSettings.Builder clearAcquisitionConversionEventLookbackWindow()
Required. The lookback window configuration for acquisition conversion events. The default window size is 30 days.
.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AttributionSettings.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AttributionSettings.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AttributionSettings.Builder |
clearName()
public AttributionSettings.Builder clearName()
Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: "properties/1000/attributionSettings"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
AttributionSettings.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AttributionSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AttributionSettings.Builder |
clearOtherConversionEventLookbackWindow()
public AttributionSettings.Builder clearOtherConversionEventLookbackWindow()
Required. The lookback window for all other, non-acquisition conversion events. The default window size is 90 days.
.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AttributionSettings.Builder | This builder for chaining. |
clearReportingAttributionModel()
public AttributionSettings.Builder clearReportingAttributionModel()
Required. The reporting attribution model used to calculate conversion credit in this property's reports. Changing the attribution model will apply to both historical and future data. These changes will be reflected in reports with conversion and revenue data. User and session data will be unaffected.
.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AttributionSettings.Builder | This builder for chaining. |
clone()
public AttributionSettings.Builder clone()
Type | Description |
AttributionSettings.Builder |
getAcquisitionConversionEventLookbackWindow()
public AttributionSettings.AcquisitionConversionEventLookbackWindow getAcquisitionConversionEventLookbackWindow()
Required. The lookback window configuration for acquisition conversion events. The default window size is 30 days.
.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AttributionSettings.AcquisitionConversionEventLookbackWindow | The acquisitionConversionEventLookbackWindow. |
getAcquisitionConversionEventLookbackWindowValue()
public int getAcquisitionConversionEventLookbackWindowValue()
Required. The lookback window configuration for acquisition conversion events. The default window size is 30 days.
.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The enum numeric value on the wire for acquisitionConversionEventLookbackWindow. |
getDefaultInstanceForType()
public AttributionSettings getDefaultInstanceForType()
Type | Description |
AttributionSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: "properties/1000/attributionSettings"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: "properties/1000/attributionSettings"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getOtherConversionEventLookbackWindow()
public AttributionSettings.OtherConversionEventLookbackWindow getOtherConversionEventLookbackWindow()
Required. The lookback window for all other, non-acquisition conversion events. The default window size is 90 days.
.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AttributionSettings.OtherConversionEventLookbackWindow | The otherConversionEventLookbackWindow. |
getOtherConversionEventLookbackWindowValue()
public int getOtherConversionEventLookbackWindowValue()
Required. The lookback window for all other, non-acquisition conversion events. The default window size is 90 days.
.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The enum numeric value on the wire for otherConversionEventLookbackWindow. |
getReportingAttributionModel()
public AttributionSettings.ReportingAttributionModel getReportingAttributionModel()
Required. The reporting attribution model used to calculate conversion credit in this property's reports. Changing the attribution model will apply to both historical and future data. These changes will be reflected in reports with conversion and revenue data. User and session data will be unaffected.
.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AttributionSettings.ReportingAttributionModel | The reportingAttributionModel. |
getReportingAttributionModelValue()
public int getReportingAttributionModelValue()
Required. The reporting attribution model used to calculate conversion credit in this property's reports. Changing the attribution model will apply to both historical and future data. These changes will be reflected in reports with conversion and revenue data. User and session data will be unaffected.
.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The enum numeric value on the wire for reportingAttributionModel. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AttributionSettings other)
public AttributionSettings.Builder mergeFrom(AttributionSettings other)
Name | Description |
other | AttributionSettings |
Type | Description |
AttributionSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AttributionSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AttributionSettings.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AttributionSettings.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AttributionSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AttributionSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AttributionSettings.Builder |
setAcquisitionConversionEventLookbackWindow(AttributionSettings.AcquisitionConversionEventLookbackWindow value)
public AttributionSettings.Builder setAcquisitionConversionEventLookbackWindow(AttributionSettings.AcquisitionConversionEventLookbackWindow value)
Required. The lookback window configuration for acquisition conversion events. The default window size is 30 days.
.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | AttributionSettings.AcquisitionConversionEventLookbackWindow The acquisitionConversionEventLookbackWindow to set. |
Type | Description |
AttributionSettings.Builder | This builder for chaining. |
setAcquisitionConversionEventLookbackWindowValue(int value)
public AttributionSettings.Builder setAcquisitionConversionEventLookbackWindowValue(int value)
Required. The lookback window configuration for acquisition conversion events. The default window size is 30 days.
.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The enum numeric value on the wire for acquisitionConversionEventLookbackWindow to set. |
Type | Description |
AttributionSettings.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AttributionSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AttributionSettings.Builder |
setName(String value)
public AttributionSettings.Builder setName(String value)
Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: "properties/1000/attributionSettings"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
AttributionSettings.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public AttributionSettings.Builder setNameBytes(ByteString value)
Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: "properties/1000/attributionSettings"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
AttributionSettings.Builder | This builder for chaining. |
setOtherConversionEventLookbackWindow(AttributionSettings.OtherConversionEventLookbackWindow value)
public AttributionSettings.Builder setOtherConversionEventLookbackWindow(AttributionSettings.OtherConversionEventLookbackWindow value)
Required. The lookback window for all other, non-acquisition conversion events. The default window size is 90 days.
.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | AttributionSettings.OtherConversionEventLookbackWindow The otherConversionEventLookbackWindow to set. |
Type | Description |
AttributionSettings.Builder | This builder for chaining. |
setOtherConversionEventLookbackWindowValue(int value)
public AttributionSettings.Builder setOtherConversionEventLookbackWindowValue(int value)
Required. The lookback window for all other, non-acquisition conversion events. The default window size is 90 days.
.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The enum numeric value on the wire for otherConversionEventLookbackWindow to set. |
Type | Description |
AttributionSettings.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AttributionSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AttributionSettings.Builder |
setReportingAttributionModel(AttributionSettings.ReportingAttributionModel value)
public AttributionSettings.Builder setReportingAttributionModel(AttributionSettings.ReportingAttributionModel value)
Required. The reporting attribution model used to calculate conversion credit in this property's reports. Changing the attribution model will apply to both historical and future data. These changes will be reflected in reports with conversion and revenue data. User and session data will be unaffected.
.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | AttributionSettings.ReportingAttributionModel The reportingAttributionModel to set. |
Type | Description |
AttributionSettings.Builder | This builder for chaining. |
setReportingAttributionModelValue(int value)
public AttributionSettings.Builder setReportingAttributionModelValue(int value)
Required. The reporting attribution model used to calculate conversion credit in this property's reports. Changing the attribution model will apply to both historical and future data. These changes will be reflected in reports with conversion and revenue data. User and session data will be unaffected.
.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The enum numeric value on the wire for reportingAttributionModel to set. |
Type | Description |
AttributionSettings.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AttributionSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AttributionSettings.Builder |