Class CallReportingSetting.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CallReportingSetting.Builder>
-
- com.google.ads.googleads.v9.resources.CallReportingSetting.Builder
-
- All Implemented Interfaces:
CallReportingSettingOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- CallReportingSetting
public static final class CallReportingSetting.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CallReportingSetting.Builder> implements CallReportingSettingOrBuilder
Call reporting setting for a customer.
Protobuf typegoogle.ads.googleads.v9.resources.CallReportingSetting
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CallReportingSetting.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CallReportingSetting
build()
CallReportingSetting
buildPartial()
CallReportingSetting.Builder
clear()
CallReportingSetting.Builder
clearCallConversionAction()
Customer-level call conversion action to attribute a call conversion to.CallReportingSetting.Builder
clearCallConversionReportingEnabled()
Whether to enable call conversion reporting.CallReportingSetting.Builder
clearCallReportingEnabled()
Enable reporting of phone call events by redirecting them via Google System.CallReportingSetting.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CallReportingSetting.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CallReportingSetting.Builder
clone()
java.lang.String
getCallConversionAction()
Customer-level call conversion action to attribute a call conversion to.com.google.protobuf.ByteString
getCallConversionActionBytes()
Customer-level call conversion action to attribute a call conversion to.boolean
getCallConversionReportingEnabled()
Whether to enable call conversion reporting.boolean
getCallReportingEnabled()
Enable reporting of phone call events by redirecting them via Google System.CallReportingSetting
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
hasCallConversionAction()
Customer-level call conversion action to attribute a call conversion to.boolean
hasCallConversionReportingEnabled()
Whether to enable call conversion reporting.boolean
hasCallReportingEnabled()
Enable reporting of phone call events by redirecting them via Google System.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CallReportingSetting.Builder
mergeFrom(CallReportingSetting other)
CallReportingSetting.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CallReportingSetting.Builder
mergeFrom(com.google.protobuf.Message other)
CallReportingSetting.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CallReportingSetting.Builder
setCallConversionAction(java.lang.String value)
Customer-level call conversion action to attribute a call conversion to.CallReportingSetting.Builder
setCallConversionActionBytes(com.google.protobuf.ByteString value)
Customer-level call conversion action to attribute a call conversion to.CallReportingSetting.Builder
setCallConversionReportingEnabled(boolean value)
Whether to enable call conversion reporting.CallReportingSetting.Builder
setCallReportingEnabled(boolean value)
Enable reporting of phone call events by redirecting them via Google System.CallReportingSetting.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CallReportingSetting.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
CallReportingSetting.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CallReportingSetting.Builder>
-
clear
public CallReportingSetting.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CallReportingSetting.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CallReportingSetting.Builder>
-
getDefaultInstanceForType
public CallReportingSetting getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CallReportingSetting build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CallReportingSetting buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CallReportingSetting.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CallReportingSetting.Builder>
-
setField
public CallReportingSetting.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CallReportingSetting.Builder>
-
clearField
public CallReportingSetting.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CallReportingSetting.Builder>
-
clearOneof
public CallReportingSetting.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CallReportingSetting.Builder>
-
setRepeatedField
public CallReportingSetting.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CallReportingSetting.Builder>
-
addRepeatedField
public CallReportingSetting.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CallReportingSetting.Builder>
-
mergeFrom
public CallReportingSetting.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CallReportingSetting.Builder>
-
mergeFrom
public CallReportingSetting.Builder mergeFrom(CallReportingSetting other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CallReportingSetting.Builder>
-
mergeFrom
public CallReportingSetting.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CallReportingSetting.Builder>
- Throws:
java.io.IOException
-
hasCallReportingEnabled
public boolean hasCallReportingEnabled()
Enable reporting of phone call events by redirecting them via Google System.
optional bool call_reporting_enabled = 10;
- Specified by:
hasCallReportingEnabled
in interfaceCallReportingSettingOrBuilder
- Returns:
- Whether the callReportingEnabled field is set.
-
getCallReportingEnabled
public boolean getCallReportingEnabled()
Enable reporting of phone call events by redirecting them via Google System.
optional bool call_reporting_enabled = 10;
- Specified by:
getCallReportingEnabled
in interfaceCallReportingSettingOrBuilder
- Returns:
- The callReportingEnabled.
-
setCallReportingEnabled
public CallReportingSetting.Builder setCallReportingEnabled(boolean value)
Enable reporting of phone call events by redirecting them via Google System.
optional bool call_reporting_enabled = 10;
- Parameters:
value
- The callReportingEnabled to set.- Returns:
- This builder for chaining.
-
clearCallReportingEnabled
public CallReportingSetting.Builder clearCallReportingEnabled()
Enable reporting of phone call events by redirecting them via Google System.
optional bool call_reporting_enabled = 10;
- Returns:
- This builder for chaining.
-
hasCallConversionReportingEnabled
public boolean hasCallConversionReportingEnabled()
Whether to enable call conversion reporting.
optional bool call_conversion_reporting_enabled = 11;
- Specified by:
hasCallConversionReportingEnabled
in interfaceCallReportingSettingOrBuilder
- Returns:
- Whether the callConversionReportingEnabled field is set.
-
getCallConversionReportingEnabled
public boolean getCallConversionReportingEnabled()
Whether to enable call conversion reporting.
optional bool call_conversion_reporting_enabled = 11;
- Specified by:
getCallConversionReportingEnabled
in interfaceCallReportingSettingOrBuilder
- Returns:
- The callConversionReportingEnabled.
-
setCallConversionReportingEnabled
public CallReportingSetting.Builder setCallConversionReportingEnabled(boolean value)
Whether to enable call conversion reporting.
optional bool call_conversion_reporting_enabled = 11;
- Parameters:
value
- The callConversionReportingEnabled to set.- Returns:
- This builder for chaining.
-
clearCallConversionReportingEnabled
public CallReportingSetting.Builder clearCallConversionReportingEnabled()
Whether to enable call conversion reporting.
optional bool call_conversion_reporting_enabled = 11;
- Returns:
- This builder for chaining.
-
hasCallConversionAction
public boolean hasCallConversionAction()
Customer-level call conversion action to attribute a call conversion to. If not set a default conversion action is used. Only in effect when call_conversion_reporting_enabled is set to true.
optional string call_conversion_action = 12 [(.google.api.resource_reference) = { ... }
- Specified by:
hasCallConversionAction
in interfaceCallReportingSettingOrBuilder
- Returns:
- Whether the callConversionAction field is set.
-
getCallConversionAction
public java.lang.String getCallConversionAction()
Customer-level call conversion action to attribute a call conversion to. If not set a default conversion action is used. Only in effect when call_conversion_reporting_enabled is set to true.
optional string call_conversion_action = 12 [(.google.api.resource_reference) = { ... }
- Specified by:
getCallConversionAction
in interfaceCallReportingSettingOrBuilder
- Returns:
- The callConversionAction.
-
getCallConversionActionBytes
public com.google.protobuf.ByteString getCallConversionActionBytes()
Customer-level call conversion action to attribute a call conversion to. If not set a default conversion action is used. Only in effect when call_conversion_reporting_enabled is set to true.
optional string call_conversion_action = 12 [(.google.api.resource_reference) = { ... }
- Specified by:
getCallConversionActionBytes
in interfaceCallReportingSettingOrBuilder
- Returns:
- The bytes for callConversionAction.
-
setCallConversionAction
public CallReportingSetting.Builder setCallConversionAction(java.lang.String value)
Customer-level call conversion action to attribute a call conversion to. If not set a default conversion action is used. Only in effect when call_conversion_reporting_enabled is set to true.
optional string call_conversion_action = 12 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The callConversionAction to set.- Returns:
- This builder for chaining.
-
clearCallConversionAction
public CallReportingSetting.Builder clearCallConversionAction()
Customer-level call conversion action to attribute a call conversion to. If not set a default conversion action is used. Only in effect when call_conversion_reporting_enabled is set to true.
optional string call_conversion_action = 12 [(.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setCallConversionActionBytes
public CallReportingSetting.Builder setCallConversionActionBytes(com.google.protobuf.ByteString value)
Customer-level call conversion action to attribute a call conversion to. If not set a default conversion action is used. Only in effect when call_conversion_reporting_enabled is set to true.
optional string call_conversion_action = 12 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for callConversionAction to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CallReportingSetting.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CallReportingSetting.Builder>
-
mergeUnknownFields
public final CallReportingSetting.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CallReportingSetting.Builder>
-
-