Class ConversionAction.AttributionModelSettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConversionAction.AttributionModelSettings.Builder>
com.google.ads.googleads.v22.resources.ConversionAction.AttributionModelSettings.Builder
- All Implemented Interfaces:
ConversionAction.AttributionModelSettingsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConversionAction.AttributionModelSettings
public static final class ConversionAction.AttributionModelSettings.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ConversionAction.AttributionModelSettings.Builder>
implements ConversionAction.AttributionModelSettingsOrBuilder
Settings related to this conversion action's attribution model.Protobuf type
google.ads.googleads.v22.resources.ConversionAction.AttributionModelSettings-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The attribution model type of this conversion action.Output only.The attribution model type of this conversion action.intThe attribution model type of this conversion action.Output only.intOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The attribution model type of this conversion action.setAttributionModelValue(int value) The attribution model type of this conversion action.Output only.setDataDrivenModelStatusValue(int value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ConversionAction.AttributionModelSettings.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConversionAction.AttributionModelSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConversionAction.AttributionModelSettings.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ConversionAction.AttributionModelSettings.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversionAction.AttributionModelSettings.Builder>
-
mergeFrom
public ConversionAction.AttributionModelSettings.Builder mergeFrom(ConversionAction.AttributionModelSettings other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ConversionAction.AttributionModelSettings.Builder>
-
mergeFrom
public ConversionAction.AttributionModelSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversionAction.AttributionModelSettings.Builder>- Throws:
IOException
-
getAttributionModelValue
public int getAttributionModelValue()The attribution model type of this conversion action.
.google.ads.googleads.v22.enums.AttributionModelEnum.AttributionModel attribution_model = 1;- Specified by:
getAttributionModelValuein interfaceConversionAction.AttributionModelSettingsOrBuilder- Returns:
- The enum numeric value on the wire for attributionModel.
-
setAttributionModelValue
The attribution model type of this conversion action.
.google.ads.googleads.v22.enums.AttributionModelEnum.AttributionModel attribution_model = 1;- Parameters:
value- The enum numeric value on the wire for attributionModel to set.- Returns:
- This builder for chaining.
-
getAttributionModel
The attribution model type of this conversion action.
.google.ads.googleads.v22.enums.AttributionModelEnum.AttributionModel attribution_model = 1;- Specified by:
getAttributionModelin interfaceConversionAction.AttributionModelSettingsOrBuilder- Returns:
- The attributionModel.
-
setAttributionModel
public ConversionAction.AttributionModelSettings.Builder setAttributionModel(AttributionModelEnum.AttributionModel value) The attribution model type of this conversion action.
.google.ads.googleads.v22.enums.AttributionModelEnum.AttributionModel attribution_model = 1;- Parameters:
value- The attributionModel to set.- Returns:
- This builder for chaining.
-
clearAttributionModel
The attribution model type of this conversion action.
.google.ads.googleads.v22.enums.AttributionModelEnum.AttributionModel attribution_model = 1;- Returns:
- This builder for chaining.
-
getDataDrivenModelStatusValue
public int getDataDrivenModelStatusValue()Output only. The status of the data-driven attribution model for the conversion action.
.google.ads.googleads.v22.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus data_driven_model_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDataDrivenModelStatusValuein interfaceConversionAction.AttributionModelSettingsOrBuilder- Returns:
- The enum numeric value on the wire for dataDrivenModelStatus.
-
setDataDrivenModelStatusValue
Output only. The status of the data-driven attribution model for the conversion action.
.google.ads.googleads.v22.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus data_driven_model_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for dataDrivenModelStatus to set.- Returns:
- This builder for chaining.
-
getDataDrivenModelStatus
Output only. The status of the data-driven attribution model for the conversion action.
.google.ads.googleads.v22.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus data_driven_model_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDataDrivenModelStatusin interfaceConversionAction.AttributionModelSettingsOrBuilder- Returns:
- The dataDrivenModelStatus.
-
setDataDrivenModelStatus
public ConversionAction.AttributionModelSettings.Builder setDataDrivenModelStatus(DataDrivenModelStatusEnum.DataDrivenModelStatus value) Output only. The status of the data-driven attribution model for the conversion action.
.google.ads.googleads.v22.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus data_driven_model_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The dataDrivenModelStatus to set.- Returns:
- This builder for chaining.
-
clearDataDrivenModelStatus
Output only. The status of the data-driven attribution model for the conversion action.
.google.ads.googleads.v22.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus data_driven_model_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-