public static final class BuyerPlacementConfig.Builder extends GeneratedMessage.Builder<BuyerPlacementConfig.Builder> implements BuyerPlacementConfigOrBuilderRepresents the buyer placement configuration for a creative.
Protobuf type google.ads.admanager.v1.BuyerPlacementConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BuyerPlacementConfig.BuilderImplements
BuyerPlacementConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BuyerPlacementConfig build()| Returns | |
|---|---|
| Type | Description |
BuyerPlacementConfig |
|
buildPartial()
public BuyerPlacementConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
BuyerPlacementConfig |
|
clear()
public BuyerPlacementConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
BuyerPlacementConfig.Builder |
|
clearPlacementDisplayName()
public BuyerPlacementConfig.Builder clearPlacementDisplayName()Optional. The name of the buyer placement.
optional string placement_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BuyerPlacementConfig.Builder |
This builder for chaining. |
clearPlacementId()
public BuyerPlacementConfig.Builder clearPlacementId()Optional. The ID of the buyer placement.
optional string placement_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BuyerPlacementConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public BuyerPlacementConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BuyerPlacementConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPlacementDisplayName()
public String getPlacementDisplayName()Optional. The name of the buyer placement.
optional string placement_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The placementDisplayName. |
getPlacementDisplayNameBytes()
public ByteString getPlacementDisplayNameBytes()Optional. The name of the buyer placement.
optional string placement_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for placementDisplayName. |
getPlacementId()
public String getPlacementId()Optional. The ID of the buyer placement.
optional string placement_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The placementId. |
getPlacementIdBytes()
public ByteString getPlacementIdBytes()Optional. The ID of the buyer placement.
optional string placement_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for placementId. |
hasPlacementDisplayName()
public boolean hasPlacementDisplayName()Optional. The name of the buyer placement.
optional string placement_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the placementDisplayName field is set. |
hasPlacementId()
public boolean hasPlacementId()Optional. The ID of the buyer placement.
optional string placement_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the placementId field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BuyerPlacementConfig other)
public BuyerPlacementConfig.Builder mergeFrom(BuyerPlacementConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
BuyerPlacementConfig |
| Returns | |
|---|---|
| Type | Description |
BuyerPlacementConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BuyerPlacementConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BuyerPlacementConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BuyerPlacementConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BuyerPlacementConfig.Builder |
|
setPlacementDisplayName(String value)
public BuyerPlacementConfig.Builder setPlacementDisplayName(String value)Optional. The name of the buyer placement.
optional string placement_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe placementDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
BuyerPlacementConfig.Builder |
This builder for chaining. |
setPlacementDisplayNameBytes(ByteString value)
public BuyerPlacementConfig.Builder setPlacementDisplayNameBytes(ByteString value)Optional. The name of the buyer placement.
optional string placement_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for placementDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
BuyerPlacementConfig.Builder |
This builder for chaining. |
setPlacementId(String value)
public BuyerPlacementConfig.Builder setPlacementId(String value)Optional. The ID of the buyer placement.
optional string placement_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe placementId to set. |
| Returns | |
|---|---|
| Type | Description |
BuyerPlacementConfig.Builder |
This builder for chaining. |
setPlacementIdBytes(ByteString value)
public BuyerPlacementConfig.Builder setPlacementIdBytes(ByteString value)Optional. The ID of the buyer placement.
optional string placement_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for placementId to set. |
| Returns | |
|---|---|
| Type | Description |
BuyerPlacementConfig.Builder |
This builder for chaining. |