Class CallView.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CallView.Builder>
com.google.ads.googleads.v18.resources.CallView.Builder
- All Implemented Interfaces:
CallViewOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CallView
public static final class CallView.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CallView.Builder>
implements CallViewOrBuilder
A call view that includes data for call tracking of call-only ads or call extensions.Protobuf type
google.ads.googleads.v18.resources.CallView-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Output only.Output only.Output only.Output only.Output only.Output only.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.Output only.Output only.clone()longOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.Output only.intOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getType()Output only.intOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final CallView.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCallDurationSeconds(long value) Output only.setCallerAreaCode(String value) Output only.setCallerAreaCodeBytes(com.google.protobuf.ByteString value) Output only.setCallerCountryCode(String value) Output only.setCallerCountryCodeBytes(com.google.protobuf.ByteString value) Output only.Output only.setCallStatusValue(int value) Output only.Output only.setCallTrackingDisplayLocationValue(int value) Output only.setEndCallDateTime(String value) Output only.setEndCallDateTimeBytes(com.google.protobuf.ByteString value) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceName(String value) Output only.setResourceNameBytes(com.google.protobuf.ByteString value) Output only.setStartCallDateTime(String value) Output only.setStartCallDateTimeBytes(com.google.protobuf.ByteString value) Output only.setType(CallTypeEnum.CallType value) Output only.setTypeValue(int value) Output only.final CallView.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CallView.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CallView.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.GeneratedMessageV3.Builder<CallView.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CallView.Builder>
-
setField
public CallView.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CallView.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CallView.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CallView.Builder>
-
setRepeatedField
public CallView.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CallView.Builder>
-
addRepeatedField
public CallView.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CallView.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CallView.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CallView.Builder>
-
mergeFrom
public CallView.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<CallView.Builder>- Throws:
IOException
-
getResourceName
Output only. The resource name of the call view. Call view resource names have the form: `customers/{customer_id}/callViews/{call_detail_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceCallViewOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Output only. The resource name of the call view. Call view resource names have the form: `customers/{customer_id}/callViews/{call_detail_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceCallViewOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
Output only. The resource name of the call view. Call view resource names have the form: `customers/{customer_id}/callViews/{call_detail_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
Output only. The resource name of the call view. Call view resource names have the form: `customers/{customer_id}/callViews/{call_detail_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
Output only. The resource name of the call view. Call view resource names have the form: `customers/{customer_id}/callViews/{call_detail_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
getCallerCountryCode
Output only. Country code of the caller.
string caller_country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCallerCountryCodein interfaceCallViewOrBuilder- Returns:
- The callerCountryCode.
-
getCallerCountryCodeBytes
public com.google.protobuf.ByteString getCallerCountryCodeBytes()Output only. Country code of the caller.
string caller_country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCallerCountryCodeBytesin interfaceCallViewOrBuilder- Returns:
- The bytes for callerCountryCode.
-
setCallerCountryCode
Output only. Country code of the caller.
string caller_country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The callerCountryCode to set.- Returns:
- This builder for chaining.
-
clearCallerCountryCode
Output only. Country code of the caller.
string caller_country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCallerCountryCodeBytes
Output only. Country code of the caller.
string caller_country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for callerCountryCode to set.- Returns:
- This builder for chaining.
-
getCallerAreaCode
Output only. Area code of the caller. Null if the call duration is shorter than 15 seconds.
string caller_area_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCallerAreaCodein interfaceCallViewOrBuilder- Returns:
- The callerAreaCode.
-
getCallerAreaCodeBytes
public com.google.protobuf.ByteString getCallerAreaCodeBytes()Output only. Area code of the caller. Null if the call duration is shorter than 15 seconds.
string caller_area_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCallerAreaCodeBytesin interfaceCallViewOrBuilder- Returns:
- The bytes for callerAreaCode.
-
setCallerAreaCode
Output only. Area code of the caller. Null if the call duration is shorter than 15 seconds.
string caller_area_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The callerAreaCode to set.- Returns:
- This builder for chaining.
-
clearCallerAreaCode
Output only. Area code of the caller. Null if the call duration is shorter than 15 seconds.
string caller_area_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCallerAreaCodeBytes
Output only. Area code of the caller. Null if the call duration is shorter than 15 seconds.
string caller_area_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for callerAreaCode to set.- Returns:
- This builder for chaining.
-
getCallDurationSeconds
public long getCallDurationSeconds()Output only. The advertiser-provided call duration in seconds.
int64 call_duration_seconds = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCallDurationSecondsin interfaceCallViewOrBuilder- Returns:
- The callDurationSeconds.
-
setCallDurationSeconds
Output only. The advertiser-provided call duration in seconds.
int64 call_duration_seconds = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The callDurationSeconds to set.- Returns:
- This builder for chaining.
-
clearCallDurationSeconds
Output only. The advertiser-provided call duration in seconds.
int64 call_duration_seconds = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStartCallDateTime
Output only. The advertiser-provided call start date time.
string start_call_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartCallDateTimein interfaceCallViewOrBuilder- Returns:
- The startCallDateTime.
-
getStartCallDateTimeBytes
public com.google.protobuf.ByteString getStartCallDateTimeBytes()Output only. The advertiser-provided call start date time.
string start_call_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartCallDateTimeBytesin interfaceCallViewOrBuilder- Returns:
- The bytes for startCallDateTime.
-
setStartCallDateTime
Output only. The advertiser-provided call start date time.
string start_call_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The startCallDateTime to set.- Returns:
- This builder for chaining.
-
clearStartCallDateTime
Output only. The advertiser-provided call start date time.
string start_call_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setStartCallDateTimeBytes
Output only. The advertiser-provided call start date time.
string start_call_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for startCallDateTime to set.- Returns:
- This builder for chaining.
-
getEndCallDateTime
Output only. The advertiser-provided call end date time.
string end_call_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndCallDateTimein interfaceCallViewOrBuilder- Returns:
- The endCallDateTime.
-
getEndCallDateTimeBytes
public com.google.protobuf.ByteString getEndCallDateTimeBytes()Output only. The advertiser-provided call end date time.
string end_call_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndCallDateTimeBytesin interfaceCallViewOrBuilder- Returns:
- The bytes for endCallDateTime.
-
setEndCallDateTime
Output only. The advertiser-provided call end date time.
string end_call_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The endCallDateTime to set.- Returns:
- This builder for chaining.
-
clearEndCallDateTime
Output only. The advertiser-provided call end date time.
string end_call_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setEndCallDateTimeBytes
Output only. The advertiser-provided call end date time.
string end_call_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for endCallDateTime to set.- Returns:
- This builder for chaining.
-
getCallTrackingDisplayLocationValue
public int getCallTrackingDisplayLocationValue()Output only. The call tracking display location.
.google.ads.googleads.v18.enums.CallTrackingDisplayLocationEnum.CallTrackingDisplayLocation call_tracking_display_location = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCallTrackingDisplayLocationValuein interfaceCallViewOrBuilder- Returns:
- The enum numeric value on the wire for callTrackingDisplayLocation.
-
setCallTrackingDisplayLocationValue
Output only. The call tracking display location.
.google.ads.googleads.v18.enums.CallTrackingDisplayLocationEnum.CallTrackingDisplayLocation call_tracking_display_location = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for callTrackingDisplayLocation to set.- Returns:
- This builder for chaining.
-
getCallTrackingDisplayLocation
Output only. The call tracking display location.
.google.ads.googleads.v18.enums.CallTrackingDisplayLocationEnum.CallTrackingDisplayLocation call_tracking_display_location = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCallTrackingDisplayLocationin interfaceCallViewOrBuilder- Returns:
- The callTrackingDisplayLocation.
-
setCallTrackingDisplayLocation
public CallView.Builder setCallTrackingDisplayLocation(CallTrackingDisplayLocationEnum.CallTrackingDisplayLocation value) Output only. The call tracking display location.
.google.ads.googleads.v18.enums.CallTrackingDisplayLocationEnum.CallTrackingDisplayLocation call_tracking_display_location = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The callTrackingDisplayLocation to set.- Returns:
- This builder for chaining.
-
clearCallTrackingDisplayLocation
Output only. The call tracking display location.
.google.ads.googleads.v18.enums.CallTrackingDisplayLocationEnum.CallTrackingDisplayLocation call_tracking_display_location = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()Output only. The type of the call.
.google.ads.googleads.v18.enums.CallTypeEnum.CallType type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypeValuein interfaceCallViewOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
Output only. The type of the call.
.google.ads.googleads.v18.enums.CallTypeEnum.CallType type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
Output only. The type of the call.
.google.ads.googleads.v18.enums.CallTypeEnum.CallType type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypein interfaceCallViewOrBuilder- Returns:
- The type.
-
setType
Output only. The type of the call.
.google.ads.googleads.v18.enums.CallTypeEnum.CallType type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Output only. The type of the call.
.google.ads.googleads.v18.enums.CallTypeEnum.CallType type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getCallStatusValue
public int getCallStatusValue()Output only. The status of the call.
.google.ads.googleads.v18.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus call_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCallStatusValuein interfaceCallViewOrBuilder- Returns:
- The enum numeric value on the wire for callStatus.
-
setCallStatusValue
Output only. The status of the call.
.google.ads.googleads.v18.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus call_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for callStatus to set.- Returns:
- This builder for chaining.
-
getCallStatus
Output only. The status of the call.
.google.ads.googleads.v18.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus call_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCallStatusin interfaceCallViewOrBuilder- Returns:
- The callStatus.
-
setCallStatus
Output only. The status of the call.
.google.ads.googleads.v18.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus call_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The callStatus to set.- Returns:
- This builder for chaining.
-
clearCallStatus
Output only. The status of the call.
.google.ads.googleads.v18.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus call_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CallView.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CallView.Builder>
-