Class ContactIdInfo.Builder (0.8.0)

public static final class ContactIdInfo.Builder extends GeneratedMessage.Builder<ContactIdInfo.Builder> implements ContactIdInfoOrBuilder

Additional information when CONTACT_ID is one of the upload_key_types.

Protobuf type google.ads.datamanager.v1.ContactIdInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ContactIdInfo build()
Returns
Type Description
ContactIdInfo

buildPartial()

public ContactIdInfo buildPartial()
Returns
Type Description
ContactIdInfo

clear()

public ContactIdInfo.Builder clear()
Returns
Type Description
ContactIdInfo.Builder
Overrides

clearDataSourceType()

public ContactIdInfo.Builder clearDataSourceType()

Optional. Immutable. Source of the upload data

optional .google.ads.datamanager.v1.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ContactIdInfo.Builder

This builder for chaining.

clearMatchRatePercentage()

public ContactIdInfo.Builder clearMatchRatePercentage()

Output only. Match rate for customer match user lists.

int32 match_rate_percentage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ContactIdInfo.Builder

This builder for chaining.

getDataSourceType()

public DataSourceType getDataSourceType()

Optional. Immutable. Source of the upload data

optional .google.ads.datamanager.v1.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
DataSourceType

The dataSourceType.

getDataSourceTypeValue()

public int getDataSourceTypeValue()

Optional. Immutable. Source of the upload data

optional .google.ads.datamanager.v1.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

The enum numeric value on the wire for dataSourceType.

getDefaultInstanceForType()

public ContactIdInfo getDefaultInstanceForType()
Returns
Type Description
ContactIdInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMatchRatePercentage()

public int getMatchRatePercentage()

Output only. Match rate for customer match user lists.

int32 match_rate_percentage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The matchRatePercentage.

hasDataSourceType()

public boolean hasDataSourceType()

Optional. Immutable. Source of the upload data

optional .google.ads.datamanager.v1.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the dataSourceType field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ContactIdInfo other)

public ContactIdInfo.Builder mergeFrom(ContactIdInfo other)
Parameter
Name Description
other ContactIdInfo
Returns
Type Description
ContactIdInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ContactIdInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContactIdInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ContactIdInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ContactIdInfo.Builder
Overrides

setDataSourceType(DataSourceType value)

public ContactIdInfo.Builder setDataSourceType(DataSourceType value)

Optional. Immutable. Source of the upload data

optional .google.ads.datamanager.v1.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value DataSourceType

The dataSourceType to set.

Returns
Type Description
ContactIdInfo.Builder

This builder for chaining.

setDataSourceTypeValue(int value)

public ContactIdInfo.Builder setDataSourceTypeValue(int value)

Optional. Immutable. Source of the upload data

optional .google.ads.datamanager.v1.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value int

The enum numeric value on the wire for dataSourceType to set.

Returns
Type Description
ContactIdInfo.Builder

This builder for chaining.

setMatchRatePercentage(int value)

public ContactIdInfo.Builder setMatchRatePercentage(int value)

Output only. Match rate for customer match user lists.

int32 match_rate_percentage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The matchRatePercentage to set.

Returns
Type Description
ContactIdInfo.Builder

This builder for chaining.