public final class NonGuaranteedDealPriority extends GeneratedMessage implements NonGuaranteedDealPriorityOrBuilderRepresents the priority settings to apply to non-guaranteed deals, independently of their types.
Protobuf type google.ads.admanager.v1.NonGuaranteedDealPriority
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > NonGuaranteedDealPriorityImplements
NonGuaranteedDealPriorityOrBuilderStatic Fields
PRIORITY_TIER_FIELD_NUMBER
public static final int PRIORITY_TIER_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static NonGuaranteedDealPriority getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static NonGuaranteedDealPriority.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority.Builder |
|
newBuilder(NonGuaranteedDealPriority prototype)
public static NonGuaranteedDealPriority.Builder newBuilder(NonGuaranteedDealPriority prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
NonGuaranteedDealPriority |
| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority.Builder |
|
parseDelimitedFrom(InputStream input)
public static NonGuaranteedDealPriority parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NonGuaranteedDealPriority parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static NonGuaranteedDealPriority parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NonGuaranteedDealPriority parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static NonGuaranteedDealPriority parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NonGuaranteedDealPriority parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static NonGuaranteedDealPriority parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NonGuaranteedDealPriority parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static NonGuaranteedDealPriority parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NonGuaranteedDealPriority parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static NonGuaranteedDealPriority parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NonGuaranteedDealPriority parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<NonGuaranteedDealPriority> parser()| Returns | |
|---|---|
| Type | Description |
Parser<NonGuaranteedDealPriority> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public NonGuaranteedDealPriority getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority |
|
getParserForType()
public Parser<NonGuaranteedDealPriority> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<NonGuaranteedDealPriority> |
|
getPriorityTier()
public DealPriorityTierEnum.DealPriorityTier getPriorityTier()Required. Enables publishers to favor certain deals, even if their default priorities are lower. For example, allowing a PA deal to beat a PD deal.
optional .google.ads.admanager.v1.DealPriorityTierEnum.DealPriorityTier priority_tier = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DealPriorityTierEnum.DealPriorityTier |
The priorityTier. |
getPriorityTierValue()
public int getPriorityTierValue()Required. Enables publishers to favor certain deals, even if their default priorities are lower. For example, allowing a PA deal to beat a PD deal.
optional .google.ads.admanager.v1.DealPriorityTierEnum.DealPriorityTier priority_tier = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for priorityTier. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasPriorityTier()
public boolean hasPriorityTier()Required. Enables publishers to favor certain deals, even if their default priorities are lower. For example, allowing a PA deal to beat a PD deal.
optional .google.ads.admanager.v1.DealPriorityTierEnum.DealPriorityTier priority_tier = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the priorityTier field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public NonGuaranteedDealPriority.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected NonGuaranteedDealPriority.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority.Builder |
|
toBuilder()
public NonGuaranteedDealPriority.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
NonGuaranteedDealPriority.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|