Class ChildPublisher.Builder (0.58.0)

public static final class ChildPublisher.Builder extends GeneratedMessage.Builder<ChildPublisher.Builder> implements ChildPublisherOrBuilder

The ChildPublisher resource.

Protobuf type google.ads.admanager.v1.ChildPublisher

Static Methods

getDescriptor()

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

Methods

addAllPendingOnboardingTasks(Iterable<? extends ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask> values)

public ChildPublisher.Builder addAllPendingOnboardingTasks(Iterable<? extends ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask> values)

Output only. The pending onboarding tasks that must be completed by the child publisher before Google's policy compliance (i.e. [DelegationApprovalStatus.PENDING_GOOGLE_APPROVAL][]) can be verified.

repeated .google.ads.admanager.v1.ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask pending_onboarding_tasks = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask>

The pendingOnboardingTasks to add.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

addAllPendingOnboardingTasksValue(Iterable<Integer> values)

public ChildPublisher.Builder addAllPendingOnboardingTasksValue(Iterable<Integer> values)

Output only. The pending onboarding tasks that must be completed by the child publisher before Google's policy compliance (i.e. [DelegationApprovalStatus.PENDING_GOOGLE_APPROVAL][]) can be verified.

repeated .google.ads.admanager.v1.ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask pending_onboarding_tasks = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for pendingOnboardingTasks to add.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

addPendingOnboardingTasks(ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask value)

public ChildPublisher.Builder addPendingOnboardingTasks(ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask value)

Output only. The pending onboarding tasks that must be completed by the child publisher before Google's policy compliance (i.e. [DelegationApprovalStatus.PENDING_GOOGLE_APPROVAL][]) can be verified.

repeated .google.ads.admanager.v1.ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask pending_onboarding_tasks = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask

The pendingOnboardingTasks to add.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

addPendingOnboardingTasksValue(int value)

public ChildPublisher.Builder addPendingOnboardingTasksValue(int value)

Output only. The pending onboarding tasks that must be completed by the child publisher before Google's policy compliance (i.e. [DelegationApprovalStatus.PENDING_GOOGLE_APPROVAL][]) can be verified.

repeated .google.ads.admanager.v1.ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask pending_onboarding_tasks = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for pendingOnboardingTasks to add.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

build()

public ChildPublisher build()
Returns
Type Description
ChildPublisher

buildPartial()

public ChildPublisher buildPartial()
Returns
Type Description
ChildPublisher

clear()

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

clearAccountStatus()

public ChildPublisher.Builder clearAccountStatus()

Output only. The account status of the ChildPublisher.

optional .google.ads.admanager.v1.DelegationAccountStatusEnum.DelegationAccountStatus account_status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

clearAddressVerificationStatus()

public ChildPublisher.Builder clearAddressVerificationStatus()

Output only. The status of the ChildPublisher's address verification (i.e., mail PIN).

optional .google.ads.admanager.v1.ChildPublisherAddressVerificationStatusEnum.ChildPublisherAddressVerificationStatus address_verification_status = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

clearApprovalStatus()

public ChildPublisher.Builder clearApprovalStatus()

Output only. The approval status of the ChildPublisher.

optional .google.ads.admanager.v1.DelegationApprovalStatusEnum.DelegationApprovalStatus approval_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

clearApprovedManageAccountRevenueShareMillipercent()

public ChildPublisher.Builder clearApprovedManageAccountRevenueShareMillipercent()

Output only. Provides the approved revenue share that the parent publisher will receive in millipercent. For example, 15000 millipercent is 15%.

This attribute is only set for Manage Account ChildPublishers of non-reseller parent publishers.

optional int64 approved_manage_account_revenue_share_millipercent = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

clearChildNetwork()

public ChildPublisher.Builder clearChildNetwork()

Immutable. The resource name of the ChildPublisher's Ad Manager network.

Format: networks/{network_code}

optional string child_network = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

clearDelegationType()

public ChildPublisher.Builder clearDelegationType()

Required. The type of delegation for the ChildPublisher.

This attribute is immutable while the relationship is active.

optional .google.ads.admanager.v1.DelegationTypeEnum.DelegationType delegation_type = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

clearDisplayName()

public ChildPublisher.Builder clearDisplayName()

Required. The display name of the ChildPublisher.

optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

clearEmail()

public ChildPublisher.Builder clearEmail()

Required. The email for the ChildPublisher.

optional string email = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

clearIdentityVerificationStatus()

public ChildPublisher.Builder clearIdentityVerificationStatus()

Output only. The status of the ChildPublisher's identity verification.

optional .google.ads.admanager.v1.ChildPublisherIdentityVerificationStatusEnum.ChildPublisherIdentityVerificationStatus identity_verification_status = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

clearInvitationStatus()

public ChildPublisher.Builder clearInvitationStatus()

Output only. The status of the invitation request to the ChildPublisher.

optional .google.ads.admanager.v1.DelegationInvitationStatusEnum.DelegationInvitationStatus invitation_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

clearName()

public ChildPublisher.Builder clearName()

Identifier. The resource name of the ChildPublisher. Format: networks/{network_code}/childPublishers/{child_publisher_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

clearParentRevenueShareMillipercent()

public ChildPublisher.Builder clearParentRevenueShareMillipercent()

Optional. The revenue share that the parent publisher will receive in millipercent. For example, 15000 millipercent is 15%.

This attribute is only settable for Manage Account ChildPublishers of non-reseller parent publishers. Otherwise, it is read-only and always 100%.

Additionally, this attribute is immutable while the relationship is active.

optional int64 parent_revenue_share_millipercent = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

clearPendingOnboardingTasks()

public ChildPublisher.Builder clearPendingOnboardingTasks()

Output only. The pending onboarding tasks that must be completed by the child publisher before Google's policy compliance (i.e. [DelegationApprovalStatus.PENDING_GOOGLE_APPROVAL][]) can be verified.

repeated .google.ads.admanager.v1.ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask pending_onboarding_tasks = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

clearReadinessStatus()

public ChildPublisher.Builder clearReadinessStatus()

Output only. The overall onboarding readiness of the ChildPublisher.

This status is correlated with ad serving, but does not include site-level approval information.

optional .google.ads.admanager.v1.McmReadinessStatusEnum.McmReadinessStatus readiness_status = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

clearSellerId()

public ChildPublisher.Builder clearSellerId()

Optional. The seller ID for the ChildPublisher, as specified in the parent publisher's sellers.json file.

This attribute is only applicable to Manage Inventory ChildPublishers.

optional string seller_id = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

getAccountStatus()

public DelegationAccountStatusEnum.DelegationAccountStatus getAccountStatus()

Output only. The account status of the ChildPublisher.

optional .google.ads.admanager.v1.DelegationAccountStatusEnum.DelegationAccountStatus account_status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DelegationAccountStatusEnum.DelegationAccountStatus

The accountStatus.

getAccountStatusValue()

public int getAccountStatusValue()

Output only. The account status of the ChildPublisher.

optional .google.ads.admanager.v1.DelegationAccountStatusEnum.DelegationAccountStatus account_status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for accountStatus.

getAddressVerificationStatus()

public ChildPublisherAddressVerificationStatusEnum.ChildPublisherAddressVerificationStatus getAddressVerificationStatus()

Output only. The status of the ChildPublisher's address verification (i.e., mail PIN).

optional .google.ads.admanager.v1.ChildPublisherAddressVerificationStatusEnum.ChildPublisherAddressVerificationStatus address_verification_status = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ChildPublisherAddressVerificationStatusEnum.ChildPublisherAddressVerificationStatus

The addressVerificationStatus.

getAddressVerificationStatusValue()

public int getAddressVerificationStatusValue()

Output only. The status of the ChildPublisher's address verification (i.e., mail PIN).

optional .google.ads.admanager.v1.ChildPublisherAddressVerificationStatusEnum.ChildPublisherAddressVerificationStatus address_verification_status = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for addressVerificationStatus.

getApprovalStatus()

public DelegationApprovalStatusEnum.DelegationApprovalStatus getApprovalStatus()

Output only. The approval status of the ChildPublisher.

optional .google.ads.admanager.v1.DelegationApprovalStatusEnum.DelegationApprovalStatus approval_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DelegationApprovalStatusEnum.DelegationApprovalStatus

The approvalStatus.

getApprovalStatusValue()

public int getApprovalStatusValue()

Output only. The approval status of the ChildPublisher.

optional .google.ads.admanager.v1.DelegationApprovalStatusEnum.DelegationApprovalStatus approval_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for approvalStatus.

getApprovedManageAccountRevenueShareMillipercent()

public long getApprovedManageAccountRevenueShareMillipercent()

Output only. Provides the approved revenue share that the parent publisher will receive in millipercent. For example, 15000 millipercent is 15%.

This attribute is only set for Manage Account ChildPublishers of non-reseller parent publishers.

optional int64 approved_manage_account_revenue_share_millipercent = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The approvedManageAccountRevenueShareMillipercent.

getChildNetwork()

public String getChildNetwork()

Immutable. The resource name of the ChildPublisher's Ad Manager network.

Format: networks/{network_code}

optional string child_network = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The childNetwork.

getChildNetworkBytes()

public ByteString getChildNetworkBytes()

Immutable. The resource name of the ChildPublisher's Ad Manager network.

Format: networks/{network_code}

optional string child_network = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for childNetwork.

getDefaultInstanceForType()

public ChildPublisher getDefaultInstanceForType()
Returns
Type Description
ChildPublisher

getDelegationType()

public DelegationTypeEnum.DelegationType getDelegationType()

Required. The type of delegation for the ChildPublisher.

This attribute is immutable while the relationship is active.

optional .google.ads.admanager.v1.DelegationTypeEnum.DelegationType delegation_type = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DelegationTypeEnum.DelegationType

The delegationType.

getDelegationTypeValue()

public int getDelegationTypeValue()

Required. The type of delegation for the ChildPublisher.

This attribute is immutable while the relationship is active.

optional .google.ads.admanager.v1.DelegationTypeEnum.DelegationType delegation_type = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for delegationType.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Required. The display name of the ChildPublisher.

optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The display name of the ChildPublisher.

optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getEmail()

public String getEmail()

Required. The email for the ChildPublisher.

optional string email = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Required. The email for the ChildPublisher.

optional string email = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for email.

getIdentityVerificationStatus()

public ChildPublisherIdentityVerificationStatusEnum.ChildPublisherIdentityVerificationStatus getIdentityVerificationStatus()

Output only. The status of the ChildPublisher's identity verification.

optional .google.ads.admanager.v1.ChildPublisherIdentityVerificationStatusEnum.ChildPublisherIdentityVerificationStatus identity_verification_status = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ChildPublisherIdentityVerificationStatusEnum.ChildPublisherIdentityVerificationStatus

The identityVerificationStatus.

getIdentityVerificationStatusValue()

public int getIdentityVerificationStatusValue()

Output only. The status of the ChildPublisher's identity verification.

optional .google.ads.admanager.v1.ChildPublisherIdentityVerificationStatusEnum.ChildPublisherIdentityVerificationStatus identity_verification_status = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for identityVerificationStatus.

getInvitationStatus()

public DelegationInvitationStatusEnum.DelegationInvitationStatus getInvitationStatus()

Output only. The status of the invitation request to the ChildPublisher.

optional .google.ads.admanager.v1.DelegationInvitationStatusEnum.DelegationInvitationStatus invitation_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DelegationInvitationStatusEnum.DelegationInvitationStatus

The invitationStatus.

getInvitationStatusValue()

public int getInvitationStatusValue()

Output only. The status of the invitation request to the ChildPublisher.

optional .google.ads.admanager.v1.DelegationInvitationStatusEnum.DelegationInvitationStatus invitation_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for invitationStatus.

getName()

public String getName()

Identifier. The resource name of the ChildPublisher. Format: networks/{network_code}/childPublishers/{child_publisher_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the ChildPublisher. Format: networks/{network_code}/childPublishers/{child_publisher_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParentRevenueShareMillipercent()

public long getParentRevenueShareMillipercent()

Optional. The revenue share that the parent publisher will receive in millipercent. For example, 15000 millipercent is 15%.

This attribute is only settable for Manage Account ChildPublishers of non-reseller parent publishers. Otherwise, it is read-only and always 100%.

Additionally, this attribute is immutable while the relationship is active.

optional int64 parent_revenue_share_millipercent = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The parentRevenueShareMillipercent.

getPendingOnboardingTasks(int index)

public ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask getPendingOnboardingTasks(int index)

Output only. The pending onboarding tasks that must be completed by the child publisher before Google's policy compliance (i.e. [DelegationApprovalStatus.PENDING_GOOGLE_APPROVAL][]) can be verified.

repeated .google.ads.admanager.v1.ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask pending_onboarding_tasks = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask

The pendingOnboardingTasks at the given index.

getPendingOnboardingTasksCount()

public int getPendingOnboardingTasksCount()

Output only. The pending onboarding tasks that must be completed by the child publisher before Google's policy compliance (i.e. [DelegationApprovalStatus.PENDING_GOOGLE_APPROVAL][]) can be verified.

repeated .google.ads.admanager.v1.ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask pending_onboarding_tasks = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of pendingOnboardingTasks.

getPendingOnboardingTasksList()

public List<ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask> getPendingOnboardingTasksList()

Output only. The pending onboarding tasks that must be completed by the child publisher before Google's policy compliance (i.e. [DelegationApprovalStatus.PENDING_GOOGLE_APPROVAL][]) can be verified.

repeated .google.ads.admanager.v1.ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask pending_onboarding_tasks = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ChildPublisherOnboardingTask>

A list containing the pendingOnboardingTasks.

getPendingOnboardingTasksValue(int index)

public int getPendingOnboardingTasksValue(int index)

Output only. The pending onboarding tasks that must be completed by the child publisher before Google's policy compliance (i.e. [DelegationApprovalStatus.PENDING_GOOGLE_APPROVAL][]) can be verified.

repeated .google.ads.admanager.v1.ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask pending_onboarding_tasks = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of pendingOnboardingTasks at the given index.

getPendingOnboardingTasksValueList()

public List<Integer> getPendingOnboardingTasksValueList()

Output only. The pending onboarding tasks that must be completed by the child publisher before Google's policy compliance (i.e. [DelegationApprovalStatus.PENDING_GOOGLE_APPROVAL][]) can be verified.

repeated .google.ads.admanager.v1.ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask pending_onboarding_tasks = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for pendingOnboardingTasks.

getReadinessStatus()

public McmReadinessStatusEnum.McmReadinessStatus getReadinessStatus()

Output only. The overall onboarding readiness of the ChildPublisher.

This status is correlated with ad serving, but does not include site-level approval information.

optional .google.ads.admanager.v1.McmReadinessStatusEnum.McmReadinessStatus readiness_status = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
McmReadinessStatusEnum.McmReadinessStatus

The readinessStatus.

getReadinessStatusValue()

public int getReadinessStatusValue()

Output only. The overall onboarding readiness of the ChildPublisher.

This status is correlated with ad serving, but does not include site-level approval information.

optional .google.ads.admanager.v1.McmReadinessStatusEnum.McmReadinessStatus readiness_status = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for readinessStatus.

getSellerId()

public String getSellerId()

Optional. The seller ID for the ChildPublisher, as specified in the parent publisher's sellers.json file.

This attribute is only applicable to Manage Inventory ChildPublishers.

optional string seller_id = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sellerId.

getSellerIdBytes()

public ByteString getSellerIdBytes()

Optional. The seller ID for the ChildPublisher, as specified in the parent publisher's sellers.json file.

This attribute is only applicable to Manage Inventory ChildPublishers.

optional string seller_id = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sellerId.

hasAccountStatus()

public boolean hasAccountStatus()

Output only. The account status of the ChildPublisher.

optional .google.ads.admanager.v1.DelegationAccountStatusEnum.DelegationAccountStatus account_status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the accountStatus field is set.

hasAddressVerificationStatus()

public boolean hasAddressVerificationStatus()

Output only. The status of the ChildPublisher's address verification (i.e., mail PIN).

optional .google.ads.admanager.v1.ChildPublisherAddressVerificationStatusEnum.ChildPublisherAddressVerificationStatus address_verification_status = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the addressVerificationStatus field is set.

hasApprovalStatus()

public boolean hasApprovalStatus()

Output only. The approval status of the ChildPublisher.

optional .google.ads.admanager.v1.DelegationApprovalStatusEnum.DelegationApprovalStatus approval_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the approvalStatus field is set.

hasApprovedManageAccountRevenueShareMillipercent()

public boolean hasApprovedManageAccountRevenueShareMillipercent()

Output only. Provides the approved revenue share that the parent publisher will receive in millipercent. For example, 15000 millipercent is 15%.

This attribute is only set for Manage Account ChildPublishers of non-reseller parent publishers.

optional int64 approved_manage_account_revenue_share_millipercent = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the approvedManageAccountRevenueShareMillipercent field is set.

hasChildNetwork()

public boolean hasChildNetwork()

Immutable. The resource name of the ChildPublisher's Ad Manager network.

Format: networks/{network_code}

optional string child_network = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the childNetwork field is set.

hasDelegationType()

public boolean hasDelegationType()

Required. The type of delegation for the ChildPublisher.

This attribute is immutable while the relationship is active.

optional .google.ads.admanager.v1.DelegationTypeEnum.DelegationType delegation_type = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the delegationType field is set.

hasDisplayName()

public boolean hasDisplayName()

Required. The display name of the ChildPublisher.

optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the displayName field is set.

hasEmail()

public boolean hasEmail()

Required. The email for the ChildPublisher.

optional string email = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the email field is set.

hasIdentityVerificationStatus()

public boolean hasIdentityVerificationStatus()

Output only. The status of the ChildPublisher's identity verification.

optional .google.ads.admanager.v1.ChildPublisherIdentityVerificationStatusEnum.ChildPublisherIdentityVerificationStatus identity_verification_status = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the identityVerificationStatus field is set.

hasInvitationStatus()

public boolean hasInvitationStatus()

Output only. The status of the invitation request to the ChildPublisher.

optional .google.ads.admanager.v1.DelegationInvitationStatusEnum.DelegationInvitationStatus invitation_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the invitationStatus field is set.

hasParentRevenueShareMillipercent()

public boolean hasParentRevenueShareMillipercent()

Optional. The revenue share that the parent publisher will receive in millipercent. For example, 15000 millipercent is 15%.

This attribute is only settable for Manage Account ChildPublishers of non-reseller parent publishers. Otherwise, it is read-only and always 100%.

Additionally, this attribute is immutable while the relationship is active.

optional int64 parent_revenue_share_millipercent = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the parentRevenueShareMillipercent field is set.

hasReadinessStatus()

public boolean hasReadinessStatus()

Output only. The overall onboarding readiness of the ChildPublisher.

This status is correlated with ad serving, but does not include site-level approval information.

optional .google.ads.admanager.v1.McmReadinessStatusEnum.McmReadinessStatus readiness_status = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the readinessStatus field is set.

hasSellerId()

public boolean hasSellerId()

Optional. The seller ID for the ChildPublisher, as specified in the parent publisher's sellers.json file.

This attribute is only applicable to Manage Inventory ChildPublishers.

optional string seller_id = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sellerId field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ChildPublisher other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAccountStatus(DelegationAccountStatusEnum.DelegationAccountStatus value)

public ChildPublisher.Builder setAccountStatus(DelegationAccountStatusEnum.DelegationAccountStatus value)

Output only. The account status of the ChildPublisher.

optional .google.ads.admanager.v1.DelegationAccountStatusEnum.DelegationAccountStatus account_status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DelegationAccountStatusEnum.DelegationAccountStatus

The accountStatus to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setAccountStatusValue(int value)

public ChildPublisher.Builder setAccountStatusValue(int value)

Output only. The account status of the ChildPublisher.

optional .google.ads.admanager.v1.DelegationAccountStatusEnum.DelegationAccountStatus account_status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setAddressVerificationStatus(ChildPublisherAddressVerificationStatusEnum.ChildPublisherAddressVerificationStatus value)

public ChildPublisher.Builder setAddressVerificationStatus(ChildPublisherAddressVerificationStatusEnum.ChildPublisherAddressVerificationStatus value)

Output only. The status of the ChildPublisher's address verification (i.e., mail PIN).

optional .google.ads.admanager.v1.ChildPublisherAddressVerificationStatusEnum.ChildPublisherAddressVerificationStatus address_verification_status = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ChildPublisherAddressVerificationStatusEnum.ChildPublisherAddressVerificationStatus

The addressVerificationStatus to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setAddressVerificationStatusValue(int value)

public ChildPublisher.Builder setAddressVerificationStatusValue(int value)

Output only. The status of the ChildPublisher's address verification (i.e., mail PIN).

optional .google.ads.admanager.v1.ChildPublisherAddressVerificationStatusEnum.ChildPublisherAddressVerificationStatus address_verification_status = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setApprovalStatus(DelegationApprovalStatusEnum.DelegationApprovalStatus value)

public ChildPublisher.Builder setApprovalStatus(DelegationApprovalStatusEnum.DelegationApprovalStatus value)

Output only. The approval status of the ChildPublisher.

optional .google.ads.admanager.v1.DelegationApprovalStatusEnum.DelegationApprovalStatus approval_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DelegationApprovalStatusEnum.DelegationApprovalStatus

The approvalStatus to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setApprovalStatusValue(int value)

public ChildPublisher.Builder setApprovalStatusValue(int value)

Output only. The approval status of the ChildPublisher.

optional .google.ads.admanager.v1.DelegationApprovalStatusEnum.DelegationApprovalStatus approval_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setApprovedManageAccountRevenueShareMillipercent(long value)

public ChildPublisher.Builder setApprovedManageAccountRevenueShareMillipercent(long value)

Output only. Provides the approved revenue share that the parent publisher will receive in millipercent. For example, 15000 millipercent is 15%.

This attribute is only set for Manage Account ChildPublishers of non-reseller parent publishers.

optional int64 approved_manage_account_revenue_share_millipercent = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The approvedManageAccountRevenueShareMillipercent to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setChildNetwork(String value)

public ChildPublisher.Builder setChildNetwork(String value)

Immutable. The resource name of the ChildPublisher's Ad Manager network.

Format: networks/{network_code}

optional string child_network = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The childNetwork to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setChildNetworkBytes(ByteString value)

public ChildPublisher.Builder setChildNetworkBytes(ByteString value)

Immutable. The resource name of the ChildPublisher's Ad Manager network.

Format: networks/{network_code}

optional string child_network = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for childNetwork to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setDelegationType(DelegationTypeEnum.DelegationType value)

public ChildPublisher.Builder setDelegationType(DelegationTypeEnum.DelegationType value)

Required. The type of delegation for the ChildPublisher.

This attribute is immutable while the relationship is active.

optional .google.ads.admanager.v1.DelegationTypeEnum.DelegationType delegation_type = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DelegationTypeEnum.DelegationType

The delegationType to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setDelegationTypeValue(int value)

public ChildPublisher.Builder setDelegationTypeValue(int value)

Required. The type of delegation for the ChildPublisher.

This attribute is immutable while the relationship is active.

optional .google.ads.admanager.v1.DelegationTypeEnum.DelegationType delegation_type = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setDisplayName(String value)

public ChildPublisher.Builder setDisplayName(String value)

Required. The display name of the ChildPublisher.

optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public ChildPublisher.Builder setDisplayNameBytes(ByteString value)

Required. The display name of the ChildPublisher.

optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setEmail(String value)

public ChildPublisher.Builder setEmail(String value)

Required. The email for the ChildPublisher.

optional string email = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The email to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setEmailBytes(ByteString value)

public ChildPublisher.Builder setEmailBytes(ByteString value)

Required. The email for the ChildPublisher.

optional string email = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for email to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setIdentityVerificationStatus(ChildPublisherIdentityVerificationStatusEnum.ChildPublisherIdentityVerificationStatus value)

public ChildPublisher.Builder setIdentityVerificationStatus(ChildPublisherIdentityVerificationStatusEnum.ChildPublisherIdentityVerificationStatus value)

Output only. The status of the ChildPublisher's identity verification.

optional .google.ads.admanager.v1.ChildPublisherIdentityVerificationStatusEnum.ChildPublisherIdentityVerificationStatus identity_verification_status = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ChildPublisherIdentityVerificationStatusEnum.ChildPublisherIdentityVerificationStatus

The identityVerificationStatus to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setIdentityVerificationStatusValue(int value)

public ChildPublisher.Builder setIdentityVerificationStatusValue(int value)

Output only. The status of the ChildPublisher's identity verification.

optional .google.ads.admanager.v1.ChildPublisherIdentityVerificationStatusEnum.ChildPublisherIdentityVerificationStatus identity_verification_status = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setInvitationStatus(DelegationInvitationStatusEnum.DelegationInvitationStatus value)

public ChildPublisher.Builder setInvitationStatus(DelegationInvitationStatusEnum.DelegationInvitationStatus value)

Output only. The status of the invitation request to the ChildPublisher.

optional .google.ads.admanager.v1.DelegationInvitationStatusEnum.DelegationInvitationStatus invitation_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DelegationInvitationStatusEnum.DelegationInvitationStatus

The invitationStatus to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setInvitationStatusValue(int value)

public ChildPublisher.Builder setInvitationStatusValue(int value)

Output only. The status of the invitation request to the ChildPublisher.

optional .google.ads.admanager.v1.DelegationInvitationStatusEnum.DelegationInvitationStatus invitation_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setName(String value)

public ChildPublisher.Builder setName(String value)

Identifier. The resource name of the ChildPublisher. Format: networks/{network_code}/childPublishers/{child_publisher_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ChildPublisher.Builder setNameBytes(ByteString value)

Identifier. The resource name of the ChildPublisher. Format: networks/{network_code}/childPublishers/{child_publisher_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setParentRevenueShareMillipercent(long value)

public ChildPublisher.Builder setParentRevenueShareMillipercent(long value)

Optional. The revenue share that the parent publisher will receive in millipercent. For example, 15000 millipercent is 15%.

This attribute is only settable for Manage Account ChildPublishers of non-reseller parent publishers. Otherwise, it is read-only and always 100%.

Additionally, this attribute is immutable while the relationship is active.

optional int64 parent_revenue_share_millipercent = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value long

The parentRevenueShareMillipercent to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setPendingOnboardingTasks(int index, ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask value)

public ChildPublisher.Builder setPendingOnboardingTasks(int index, ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask value)

Output only. The pending onboarding tasks that must be completed by the child publisher before Google's policy compliance (i.e. [DelegationApprovalStatus.PENDING_GOOGLE_APPROVAL][]) can be verified.

repeated .google.ads.admanager.v1.ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask pending_onboarding_tasks = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask

The pendingOnboardingTasks to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setPendingOnboardingTasksValue(int index, int value)

public ChildPublisher.Builder setPendingOnboardingTasksValue(int index, int value)

Output only. The pending onboarding tasks that must be completed by the child publisher before Google's policy compliance (i.e. [DelegationApprovalStatus.PENDING_GOOGLE_APPROVAL][]) can be verified.

repeated .google.ads.admanager.v1.ChildPublisherOnboardingTaskEnum.ChildPublisherOnboardingTask pending_onboarding_tasks = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value int

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

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setReadinessStatus(McmReadinessStatusEnum.McmReadinessStatus value)

public ChildPublisher.Builder setReadinessStatus(McmReadinessStatusEnum.McmReadinessStatus value)

Output only. The overall onboarding readiness of the ChildPublisher.

This status is correlated with ad serving, but does not include site-level approval information.

optional .google.ads.admanager.v1.McmReadinessStatusEnum.McmReadinessStatus readiness_status = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value McmReadinessStatusEnum.McmReadinessStatus

The readinessStatus to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setReadinessStatusValue(int value)

public ChildPublisher.Builder setReadinessStatusValue(int value)

Output only. The overall onboarding readiness of the ChildPublisher.

This status is correlated with ad serving, but does not include site-level approval information.

optional .google.ads.admanager.v1.McmReadinessStatusEnum.McmReadinessStatus readiness_status = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setSellerId(String value)

public ChildPublisher.Builder setSellerId(String value)

Optional. The seller ID for the ChildPublisher, as specified in the parent publisher's sellers.json file.

This attribute is only applicable to Manage Inventory ChildPublishers.

optional string seller_id = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The sellerId to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.

setSellerIdBytes(ByteString value)

public ChildPublisher.Builder setSellerIdBytes(ByteString value)

Optional. The seller ID for the ChildPublisher, as specified in the parent publisher's sellers.json file.

This attribute is only applicable to Manage Inventory ChildPublishers.

optional string seller_id = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for sellerId to set.

Returns
Type Description
ChildPublisher.Builder

This builder for chaining.