Class TargetNetworkInfo.Builder (0.8.0)

public static final class TargetNetworkInfo.Builder extends GeneratedMessage.Builder<TargetNetworkInfo.Builder> implements TargetNetworkInfoOrBuilder

Eligibility information for different target networks.

Protobuf type google.ads.datamanager.v1.TargetNetworkInfo

Static Methods

getDescriptor()

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

Methods

build()

public TargetNetworkInfo build()
Returns
Type Description
TargetNetworkInfo

buildPartial()

public TargetNetworkInfo buildPartial()
Returns
Type Description
TargetNetworkInfo

clear()

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

clearEligibleForDisplay()

public TargetNetworkInfo.Builder clearEligibleForDisplay()

Output only. Indicates this user list is eligible for Google Display Network.

bool eligible_for_display = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TargetNetworkInfo.Builder

This builder for chaining.

clearEligibleForSearch()

public TargetNetworkInfo.Builder clearEligibleForSearch()

Optional. Indicates if this user list is eligible for Google Search Network.

optional bool eligible_for_search = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TargetNetworkInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public TargetNetworkInfo getDefaultInstanceForType()
Returns
Type Description
TargetNetworkInfo

getDescriptorForType()

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

getEligibleForDisplay()

public boolean getEligibleForDisplay()

Output only. Indicates this user list is eligible for Google Display Network.

bool eligible_for_display = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The eligibleForDisplay.

getEligibleForSearch()

public boolean getEligibleForSearch()

Optional. Indicates if this user list is eligible for Google Search Network.

optional bool eligible_for_search = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The eligibleForSearch.

hasEligibleForSearch()

public boolean hasEligibleForSearch()

Optional. Indicates if this user list is eligible for Google Search Network.

optional bool eligible_for_search = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the eligibleForSearch field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TargetNetworkInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEligibleForDisplay(boolean value)

public TargetNetworkInfo.Builder setEligibleForDisplay(boolean value)

Output only. Indicates this user list is eligible for Google Display Network.

bool eligible_for_display = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The eligibleForDisplay to set.

Returns
Type Description
TargetNetworkInfo.Builder

This builder for chaining.

setEligibleForSearch(boolean value)

public TargetNetworkInfo.Builder setEligibleForSearch(boolean value)

Optional. Indicates if this user list is eligible for Google Search Network.

optional bool eligible_for_search = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The eligibleForSearch to set.

Returns
Type Description
TargetNetworkInfo.Builder

This builder for chaining.