Class PseudonymousIdInfo.Builder (0.8.0)

public static final class PseudonymousIdInfo.Builder extends GeneratedMessage.Builder<PseudonymousIdInfo.Builder> implements PseudonymousIdInfoOrBuilder

Additional information when PSEUDONYMOUS_ID is one of the upload_key_types.

Protobuf type google.ads.datamanager.v1.PseudonymousIdInfo

Static Methods

getDescriptor()

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

Methods

build()

public PseudonymousIdInfo build()
Returns
Type Description
PseudonymousIdInfo

buildPartial()

public PseudonymousIdInfo buildPartial()
Returns
Type Description
PseudonymousIdInfo

clear()

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

clearBillableRecordCount()

public PseudonymousIdInfo.Builder clearBillableRecordCount()

Optional. Immutable. The number of billable records (e.g. uploaded or matched).

optional int64 billable_record_count = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
PseudonymousIdInfo.Builder

This builder for chaining.

clearSyncStatus()

public PseudonymousIdInfo.Builder clearSyncStatus()

Output only. Sync status of the user list.

optional .google.ads.datamanager.v1.PseudonymousIdInfo.SyncStatus sync_status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PseudonymousIdInfo.Builder

This builder for chaining.

getBillableRecordCount()

public long getBillableRecordCount()

Optional. Immutable. The number of billable records (e.g. uploaded or matched).

optional int64 billable_record_count = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
long

The billableRecordCount.

getDefaultInstanceForType()

public PseudonymousIdInfo getDefaultInstanceForType()
Returns
Type Description
PseudonymousIdInfo

getDescriptorForType()

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

getSyncStatus()

public PseudonymousIdInfo.SyncStatus getSyncStatus()

Output only. Sync status of the user list.

optional .google.ads.datamanager.v1.PseudonymousIdInfo.SyncStatus sync_status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PseudonymousIdInfo.SyncStatus

The syncStatus.

getSyncStatusValue()

public int getSyncStatusValue()

Output only. Sync status of the user list.

optional .google.ads.datamanager.v1.PseudonymousIdInfo.SyncStatus sync_status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for syncStatus.

hasBillableRecordCount()

public boolean hasBillableRecordCount()

Optional. Immutable. The number of billable records (e.g. uploaded or matched).

optional int64 billable_record_count = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the billableRecordCount field is set.

hasSyncStatus()

public boolean hasSyncStatus()

Output only. Sync status of the user list.

optional .google.ads.datamanager.v1.PseudonymousIdInfo.SyncStatus sync_status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the syncStatus field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PseudonymousIdInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBillableRecordCount(long value)

public PseudonymousIdInfo.Builder setBillableRecordCount(long value)

Optional. Immutable. The number of billable records (e.g. uploaded or matched).

optional int64 billable_record_count = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value long

The billableRecordCount to set.

Returns
Type Description
PseudonymousIdInfo.Builder

This builder for chaining.

setSyncStatus(PseudonymousIdInfo.SyncStatus value)

public PseudonymousIdInfo.Builder setSyncStatus(PseudonymousIdInfo.SyncStatus value)

Output only. Sync status of the user list.

optional .google.ads.datamanager.v1.PseudonymousIdInfo.SyncStatus sync_status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PseudonymousIdInfo.SyncStatus

The syncStatus to set.

Returns
Type Description
PseudonymousIdInfo.Builder

This builder for chaining.

setSyncStatusValue(int value)

public PseudonymousIdInfo.Builder setSyncStatusValue(int value)

Output only. Sync status of the user list.

optional .google.ads.datamanager.v1.PseudonymousIdInfo.SyncStatus sync_status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
PseudonymousIdInfo.Builder

This builder for chaining.