public static final class TargetNetworkInfo.Builder extends GeneratedMessage.Builder<TargetNetworkInfo.Builder> implements TargetNetworkInfoOrBuilderEligibility information for different target networks.
Protobuf type google.ads.datamanager.v1.TargetNetworkInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TargetNetworkInfo.BuilderImplements
TargetNetworkInfoOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TargetNetworkInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TargetNetworkInfo.Builder |
|
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 |
booleanThe 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 |
booleanThe eligibleForSearch to set. |
| Returns | |
|---|---|
| Type | Description |
TargetNetworkInfo.Builder |
This builder for chaining. |