public static final class RenegotiateChildPublisherAgreementRequest.Builder extends GeneratedMessage.Builder<RenegotiateChildPublisherAgreementRequest.Builder> implements RenegotiateChildPublisherAgreementRequestOrBuilderRequest message to renegotiate a ChildPublisher's agreement (i.e., invite with updated terms).
Protobuf type google.ads.admanager.v1.RenegotiateChildPublisherAgreementRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RenegotiateChildPublisherAgreementRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RenegotiateChildPublisherAgreementRequest build()| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest |
|
buildPartial()
public RenegotiateChildPublisherAgreementRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest |
|
clear()
public RenegotiateChildPublisherAgreementRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
|
clearDelegationType()
public RenegotiateChildPublisherAgreementRequest.Builder clearDelegationType()Optional. The type of delegation to set for the ChildPublisher whose agreement is being renegotiated.
.google.ads.admanager.v1.DelegationTypeEnum.DelegationType delegation_type = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
clearDisplayName()
public RenegotiateChildPublisherAgreementRequest.Builder clearDisplayName()Optional. The display name to set for the ChildPublisher whose agreement is being renegotiated.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
clearEmailAddress()
public RenegotiateChildPublisherAgreementRequest.Builder clearEmailAddress()Optional. The email address to set for the ChildPublisher whose agreement is being renegotiated.
string email_address = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
clearName()
public RenegotiateChildPublisherAgreementRequest.Builder clearName() Required. Resource name of the
ChildPublisher whose agreement is
being renegotiated. Format:
networks/{network_code}/childPublisher/{child_publisher_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
clearNetwork()
public RenegotiateChildPublisherAgreementRequest.Builder clearNetwork()Optional. The resource name of the Ad Manager network to set for the ChildPublisher whose agreement is being renegotiated.
This field may not update the ChildPublisher's Ad Manager network if it is already associated with one.
Format: networks/{network_code}
string network = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
clearParentRevenueShareMillipercent()
public RenegotiateChildPublisherAgreementRequest.Builder clearParentRevenueShareMillipercent()Optional. The revenue share to set that the parent publisher will receive in millipercent (e.g., 15000 millipercent is %15) for the ChildPublisher whose agreement is being renegotiated.
This field is only settable for Manage Account ChildPublishers of non-reseller parent publishers. Otherwise, it is ignored and always 100%.
int64 parent_revenue_share_millipercent = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
clearSellerId()
public RenegotiateChildPublisherAgreementRequest.Builder clearSellerId()Optional. The seller ID to set for the ChildPublisher whose agreement is being renegotiated.
This field is only applicable to Manage Inventory ChildPublishers.
string seller_id = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RenegotiateChildPublisherAgreementRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest |
|
getDelegationType()
public DelegationTypeEnum.DelegationType getDelegationType()Optional. The type of delegation to set for the ChildPublisher whose agreement is being renegotiated.
.google.ads.admanager.v1.DelegationTypeEnum.DelegationType delegation_type = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DelegationTypeEnum.DelegationType |
The delegationType. |
getDelegationTypeValue()
public int getDelegationTypeValue()Optional. The type of delegation to set for the ChildPublisher whose agreement is being renegotiated.
.google.ads.admanager.v1.DelegationTypeEnum.DelegationType delegation_type = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for delegationType. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Optional. The display name to set for the ChildPublisher whose agreement is being renegotiated.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Optional. The display name to set for the ChildPublisher whose agreement is being renegotiated.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getEmailAddress()
public String getEmailAddress()Optional. The email address to set for the ChildPublisher whose agreement is being renegotiated.
string email_address = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The emailAddress. |
getEmailAddressBytes()
public ByteString getEmailAddressBytes()Optional. The email address to set for the ChildPublisher whose agreement is being renegotiated.
string email_address = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for emailAddress. |
getName()
public String getName() Required. Resource name of the
ChildPublisher whose agreement is
being renegotiated. Format:
networks/{network_code}/childPublisher/{child_publisher_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. Resource name of the
ChildPublisher whose agreement is
being renegotiated. Format:
networks/{network_code}/childPublisher/{child_publisher_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getNetwork()
public String getNetwork()Optional. The resource name of the Ad Manager network to set for the ChildPublisher whose agreement is being renegotiated.
This field may not update the ChildPublisher's Ad Manager network if it is already associated with one.
Format: networks/{network_code}
string network = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The network. |
getNetworkBytes()
public ByteString getNetworkBytes()Optional. The resource name of the Ad Manager network to set for the ChildPublisher whose agreement is being renegotiated.
This field may not update the ChildPublisher's Ad Manager network if it is already associated with one.
Format: networks/{network_code}
string network = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for network. |
getParentRevenueShareMillipercent()
public long getParentRevenueShareMillipercent()Optional. The revenue share to set that the parent publisher will receive in millipercent (e.g., 15000 millipercent is %15) for the ChildPublisher whose agreement is being renegotiated.
This field is only settable for Manage Account ChildPublishers of non-reseller parent publishers. Otherwise, it is ignored and always 100%.
int64 parent_revenue_share_millipercent = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The parentRevenueShareMillipercent. |
getSellerId()
public String getSellerId()Optional. The seller ID to set for the ChildPublisher whose agreement is being renegotiated.
This field is only applicable to Manage Inventory ChildPublishers.
string seller_id = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The sellerId. |
getSellerIdBytes()
public ByteString getSellerIdBytes()Optional. The seller ID to set for the ChildPublisher whose agreement is being renegotiated.
This field is only applicable to Manage Inventory ChildPublishers.
string seller_id = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sellerId. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RenegotiateChildPublisherAgreementRequest other)
public RenegotiateChildPublisherAgreementRequest.Builder mergeFrom(RenegotiateChildPublisherAgreementRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RenegotiateChildPublisherAgreementRequest |
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RenegotiateChildPublisherAgreementRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RenegotiateChildPublisherAgreementRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
|
setDelegationType(DelegationTypeEnum.DelegationType value)
public RenegotiateChildPublisherAgreementRequest.Builder setDelegationType(DelegationTypeEnum.DelegationType value)Optional. The type of delegation to set for the ChildPublisher whose agreement is being renegotiated.
.google.ads.admanager.v1.DelegationTypeEnum.DelegationType delegation_type = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DelegationTypeEnum.DelegationTypeThe delegationType to set. |
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
setDelegationTypeValue(int value)
public RenegotiateChildPublisherAgreementRequest.Builder setDelegationTypeValue(int value)Optional. The type of delegation to set for the ChildPublisher whose agreement is being renegotiated.
.google.ads.admanager.v1.DelegationTypeEnum.DelegationType delegation_type = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for delegationType to set. |
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
setDisplayName(String value)
public RenegotiateChildPublisherAgreementRequest.Builder setDisplayName(String value)Optional. The display name to set for the ChildPublisher whose agreement is being renegotiated.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public RenegotiateChildPublisherAgreementRequest.Builder setDisplayNameBytes(ByteString value)Optional. The display name to set for the ChildPublisher whose agreement is being renegotiated.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
setEmailAddress(String value)
public RenegotiateChildPublisherAgreementRequest.Builder setEmailAddress(String value)Optional. The email address to set for the ChildPublisher whose agreement is being renegotiated.
string email_address = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe emailAddress to set. |
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
setEmailAddressBytes(ByteString value)
public RenegotiateChildPublisherAgreementRequest.Builder setEmailAddressBytes(ByteString value)Optional. The email address to set for the ChildPublisher whose agreement is being renegotiated.
string email_address = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for emailAddress to set. |
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
setName(String value)
public RenegotiateChildPublisherAgreementRequest.Builder setName(String value) Required. Resource name of the
ChildPublisher whose agreement is
being renegotiated. Format:
networks/{network_code}/childPublisher/{child_publisher_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public RenegotiateChildPublisherAgreementRequest.Builder setNameBytes(ByteString value) Required. Resource name of the
ChildPublisher whose agreement is
being renegotiated. Format:
networks/{network_code}/childPublisher/{child_publisher_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
setNetwork(String value)
public RenegotiateChildPublisherAgreementRequest.Builder setNetwork(String value)Optional. The resource name of the Ad Manager network to set for the ChildPublisher whose agreement is being renegotiated.
This field may not update the ChildPublisher's Ad Manager network if it is already associated with one.
Format: networks/{network_code}
string network = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe network to set. |
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
setNetworkBytes(ByteString value)
public RenegotiateChildPublisherAgreementRequest.Builder setNetworkBytes(ByteString value)Optional. The resource name of the Ad Manager network to set for the ChildPublisher whose agreement is being renegotiated.
This field may not update the ChildPublisher's Ad Manager network if it is already associated with one.
Format: networks/{network_code}
string network = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for network to set. |
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
setParentRevenueShareMillipercent(long value)
public RenegotiateChildPublisherAgreementRequest.Builder setParentRevenueShareMillipercent(long value)Optional. The revenue share to set that the parent publisher will receive in millipercent (e.g., 15000 millipercent is %15) for the ChildPublisher whose agreement is being renegotiated.
This field is only settable for Manage Account ChildPublishers of non-reseller parent publishers. Otherwise, it is ignored and always 100%.
int64 parent_revenue_share_millipercent = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe parentRevenueShareMillipercent to set. |
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
setSellerId(String value)
public RenegotiateChildPublisherAgreementRequest.Builder setSellerId(String value)Optional. The seller ID to set for the ChildPublisher whose agreement is being renegotiated.
This field is only applicable to Manage Inventory ChildPublishers.
string seller_id = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sellerId to set. |
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |
setSellerIdBytes(ByteString value)
public RenegotiateChildPublisherAgreementRequest.Builder setSellerIdBytes(ByteString value)Optional. The seller ID to set for the ChildPublisher whose agreement is being renegotiated.
This field is only applicable to Manage Inventory ChildPublishers.
string seller_id = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sellerId to set. |
| Returns | |
|---|---|
| Type | Description |
RenegotiateChildPublisherAgreementRequest.Builder |
This builder for chaining. |