public final class ProposalMarketplaceInfo extends GeneratedMessage implements ProposalMarketplaceInfoOrBuilder
Marketplace info for a Proposal with a corresponding order in Marketplace.
Protobuf type google.ads.admanager.v1.ProposalMarketplaceInfo
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
BUYER_ACCOUNT_ID_FIELD_NUMBER
public static final int BUYER_ACCOUNT_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DRAFT_PROPOSAL_FIELD_NUMBER
public static final int DRAFT_PROPOSAL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int MARKETPLACE_COMMENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MARKETPLACE_ORDER_ID_FIELD_NUMBER
public static final int MARKETPLACE_ORDER_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NEGOTIATION_STATUS_FIELD_NUMBER
public static final int NEGOTIATION_STATUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NEW_VERSION_FROM_BUYER_FIELD_NUMBER
public static final int NEW_VERSION_FROM_BUYER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PARTNER_CLIENT_ID_FIELD_NUMBER
public static final int PARTNER_CLIENT_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ProposalMarketplaceInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ProposalMarketplaceInfo.Builder newBuilder()
newBuilder(ProposalMarketplaceInfo prototype)
public static ProposalMarketplaceInfo.Builder newBuilder(ProposalMarketplaceInfo prototype)
public static ProposalMarketplaceInfo parseDelimitedFrom(InputStream input)
public static ProposalMarketplaceInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ProposalMarketplaceInfo parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProposalMarketplaceInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ProposalMarketplaceInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProposalMarketplaceInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProposalMarketplaceInfo parseFrom(CodedInputStream input)
public static ProposalMarketplaceInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ProposalMarketplaceInfo parseFrom(InputStream input)
public static ProposalMarketplaceInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ProposalMarketplaceInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ProposalMarketplaceInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ProposalMarketplaceInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getBuyerAccountId()
public long getBuyerAccountId()
Required. The account ID of the buyer that this Proposal is being
negotiated with.
optional int64 buyer_account_id = 9 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
long |
The buyerAccountId.
|
getDefaultInstanceForType()
public ProposalMarketplaceInfo getDefaultInstanceForType()
getDraftProposal()
public boolean getDraftProposal()
Output only. Whether the non-free-editable fields of a Proposal are opened
for edit. A Proposal that is open for edit will not receive buyer updates
from Marketplace. If the buyer updates the Proposal while this is open for
local editing, Google will set
newVersionFromBuyer
to true. You will then need to call
ProposalService.BatchDiscardDraftProposals
to revert your edits to get the buyer's latest changes.
optional bool draft_proposal = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
The draftProposal.
|
public String getMarketplaceComment()
Optional. The comment on the Proposal to be sent to the buyer.
optional string marketplace_comment = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The marketplaceComment.
|
public ByteString getMarketplaceCommentBytes()
Optional. The comment on the Proposal to be sent to the buyer.
optional string marketplace_comment = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for marketplaceComment.
|
getMarketplaceOrderId()
public String getMarketplaceOrderId()
Output only. The marketplace ID of this Proposal. This is a shared ID
between Ad Manager and the buy-side platform. This value is null if the
Proposal has not been sent to the buyer.
optional string marketplace_order_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The marketplaceOrderId.
|
getMarketplaceOrderIdBytes()
public ByteString getMarketplaceOrderIdBytes()
Output only. The marketplace ID of this Proposal. This is a shared ID
between Ad Manager and the buy-side platform. This value is null if the
Proposal has not been sent to the buyer.
optional string marketplace_order_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for marketplaceOrderId.
|
getNegotiationStatus()
public ProposalNegotiationStatusEnum.ProposalNegotiationStatus getNegotiationStatus()
Output only. The negotiation status of the Proposal.
optional .google.ads.admanager.v1.ProposalNegotiationStatusEnum.ProposalNegotiationStatus negotiation_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getNegotiationStatusValue()
public int getNegotiationStatusValue()
Output only. The negotiation status of the Proposal.
optional .google.ads.admanager.v1.ProposalNegotiationStatusEnum.ProposalNegotiationStatus negotiation_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for negotiationStatus.
|
getNewVersionFromBuyer()
public boolean getNewVersionFromBuyer()
Output only. Indicates that the buyer has made updates to the Proposal on
Marketplace. This attribute is only meaningful if the Proposal is open for
edit (i.e.,
draftProposal
is true).
optional bool new_version_from_buyer = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
The newVersionFromBuyer.
|
getParserForType()
public Parser<ProposalMarketplaceInfo> getParserForType()
Overrides
getPartnerClientId()
public String getPartnerClientId()
Output only. The ID used to represent the Display & Video 360 client buyer
partner ID (if Display & Video 360) or the Authorized Buyers client buyer
account ID.
optional string partner_client_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The partnerClientId.
|
getPartnerClientIdBytes()
public ByteString getPartnerClientIdBytes()
Output only. The ID used to represent the Display & Video 360 client buyer
partner ID (if Display & Video 360) or the Authorized Buyers client buyer
account ID.
optional string partner_client_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for partnerClientId.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasBuyerAccountId()
public boolean hasBuyerAccountId()
Required. The account ID of the buyer that this Proposal is being
negotiated with.
optional int64 buyer_account_id = 9 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the buyerAccountId field is set.
|
hasDraftProposal()
public boolean hasDraftProposal()
Output only. Whether the non-free-editable fields of a Proposal are opened
for edit. A Proposal that is open for edit will not receive buyer updates
from Marketplace. If the buyer updates the Proposal while this is open for
local editing, Google will set
newVersionFromBuyer
to true. You will then need to call
ProposalService.BatchDiscardDraftProposals
to revert your edits to get the buyer's latest changes.
optional bool draft_proposal = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the draftProposal field is set.
|
public boolean hasMarketplaceComment()
Optional. The comment on the Proposal to be sent to the buyer.
optional string marketplace_comment = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the marketplaceComment field is set.
|
hasMarketplaceOrderId()
public boolean hasMarketplaceOrderId()
Output only. The marketplace ID of this Proposal. This is a shared ID
between Ad Manager and the buy-side platform. This value is null if the
Proposal has not been sent to the buyer.
optional string marketplace_order_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the marketplaceOrderId field is set.
|
hasNegotiationStatus()
public boolean hasNegotiationStatus()
Output only. The negotiation status of the Proposal.
optional .google.ads.admanager.v1.ProposalNegotiationStatusEnum.ProposalNegotiationStatus negotiation_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the negotiationStatus field is set.
|
hasNewVersionFromBuyer()
public boolean hasNewVersionFromBuyer()
Output only. Indicates that the buyer has made updates to the Proposal on
Marketplace. This attribute is only meaningful if the Proposal is open for
edit (i.e.,
draftProposal
is true).
optional bool new_version_from_buyer = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the newVersionFromBuyer field is set.
|
hasPartnerClientId()
public boolean hasPartnerClientId()
Output only. The ID used to represent the Display & Video 360 client buyer
partner ID (if Display & Video 360) or the Authorized Buyers client buyer
account ID.
optional string partner_client_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the partnerClientId field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ProposalMarketplaceInfo.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ProposalMarketplaceInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ProposalMarketplaceInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides