Class RenegotiateChildPublisherAgreementRequest (0.58.0)

public final class RenegotiateChildPublisherAgreementRequest extends GeneratedMessage implements RenegotiateChildPublisherAgreementRequestOrBuilder

Request message to renegotiate a ChildPublisher's agreement (i.e., invite with updated terms).

Protobuf type google.ads.admanager.v1.RenegotiateChildPublisherAgreementRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > RenegotiateChildPublisherAgreementRequest

Static Fields

DELEGATION_TYPE_FIELD_NUMBER

public static final int DELEGATION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

EMAIL_ADDRESS_FIELD_NUMBER

public static final int EMAIL_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
Type Description
int

PARENT_REVENUE_SHARE_MILLIPERCENT_FIELD_NUMBER

public static final int PARENT_REVENUE_SHARE_MILLIPERCENT_FIELD_NUMBER
Field Value
Type Description
int

SELLER_ID_FIELD_NUMBER

public static final int SELLER_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RenegotiateChildPublisherAgreementRequest getDefaultInstance()
Returns
Type Description
RenegotiateChildPublisherAgreementRequest

getDescriptor()

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

newBuilder()

public static RenegotiateChildPublisherAgreementRequest.Builder newBuilder()
Returns
Type Description
RenegotiateChildPublisherAgreementRequest.Builder

newBuilder(RenegotiateChildPublisherAgreementRequest prototype)

public static RenegotiateChildPublisherAgreementRequest.Builder newBuilder(RenegotiateChildPublisherAgreementRequest prototype)
Parameter
Name Description
prototype RenegotiateChildPublisherAgreementRequest
Returns
Type Description
RenegotiateChildPublisherAgreementRequest.Builder

parseDelimitedFrom(InputStream input)

public static RenegotiateChildPublisherAgreementRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RenegotiateChildPublisherAgreementRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RenegotiateChildPublisherAgreementRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenegotiateChildPublisherAgreementRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RenegotiateChildPublisherAgreementRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RenegotiateChildPublisherAgreementRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RenegotiateChildPublisherAgreementRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenegotiateChildPublisherAgreementRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RenegotiateChildPublisherAgreementRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RenegotiateChildPublisherAgreementRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RenegotiateChildPublisherAgreementRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenegotiateChildPublisherAgreementRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RenegotiateChildPublisherAgreementRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RenegotiateChildPublisherAgreementRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RenegotiateChildPublisherAgreementRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenegotiateChildPublisherAgreementRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RenegotiateChildPublisherAgreementRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RenegotiateChildPublisherAgreementRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RenegotiateChildPublisherAgreementRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenegotiateChildPublisherAgreementRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RenegotiateChildPublisherAgreementRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RenegotiateChildPublisherAgreementRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RenegotiateChildPublisherAgreementRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenegotiateChildPublisherAgreementRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RenegotiateChildPublisherAgreementRequest> parser()
Returns
Type Description
Parser<RenegotiateChildPublisherAgreementRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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.

getParserForType()

public Parser<RenegotiateChildPublisherAgreementRequest> getParserForType()
Returns
Type Description
Parser<RenegotiateChildPublisherAgreementRequest>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RenegotiateChildPublisherAgreementRequest.Builder newBuilderForType()
Returns
Type Description
RenegotiateChildPublisherAgreementRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected RenegotiateChildPublisherAgreementRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RenegotiateChildPublisherAgreementRequest.Builder
Overrides

toBuilder()

public RenegotiateChildPublisherAgreementRequest.Builder toBuilder()
Returns
Type Description
RenegotiateChildPublisherAgreementRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException