public static final class BreakTemplateMember.Builder extends GeneratedMessage.Builder<BreakTemplateMember.Builder> implements BreakTemplateMemberOrBuilderA building block of a pod template.
Protobuf type google.ads.admanager.v1.BreakTemplateMember
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BreakTemplateMember.BuilderImplements
BreakTemplateMemberOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BreakTemplateMember build()| Returns | |
|---|---|
| Type | Description |
BreakTemplateMember |
|
buildPartial()
public BreakTemplateMember buildPartial()| Returns | |
|---|---|
| Type | Description |
BreakTemplateMember |
|
clear()
public BreakTemplateMember.Builder clear()| Returns | |
|---|---|
| Type | Description |
BreakTemplateMember.Builder |
|
clearAdSpot()
public BreakTemplateMember.Builder clearAdSpot() Required. The ID of the AdSpot that has the settings about what kinds of
ads can appear in this position of the BreakTemplate.
optional string ad_spot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BreakTemplateMember.Builder |
This builder for chaining. |
clearAdSpotFillType()
public BreakTemplateMember.Builder clearAdSpotFillType() Optional. The behavior for how the AdSpot should be filled in the context
of the BreakTemplate.
optional .google.ads.admanager.v1.AdSpotFillTypeEnum.AdSpotFillType ad_spot_fill_type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BreakTemplateMember.Builder |
This builder for chaining. |
getAdSpot()
public String getAdSpot() Required. The ID of the AdSpot that has the settings about what kinds of
ads can appear in this position of the BreakTemplate.
optional string ad_spot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The adSpot. |
getAdSpotBytes()
public ByteString getAdSpotBytes() Required. The ID of the AdSpot that has the settings about what kinds of
ads can appear in this position of the BreakTemplate.
optional string ad_spot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for adSpot. |
getAdSpotFillType()
public AdSpotFillTypeEnum.AdSpotFillType getAdSpotFillType() Optional. The behavior for how the AdSpot should be filled in the context
of the BreakTemplate.
optional .google.ads.admanager.v1.AdSpotFillTypeEnum.AdSpotFillType ad_spot_fill_type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AdSpotFillTypeEnum.AdSpotFillType |
The adSpotFillType. |
getAdSpotFillTypeValue()
public int getAdSpotFillTypeValue() Optional. The behavior for how the AdSpot should be filled in the context
of the BreakTemplate.
optional .google.ads.admanager.v1.AdSpotFillTypeEnum.AdSpotFillType ad_spot_fill_type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for adSpotFillType. |
getDefaultInstanceForType()
public BreakTemplateMember getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BreakTemplateMember |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
hasAdSpot()
public boolean hasAdSpot() Required. The ID of the AdSpot that has the settings about what kinds of
ads can appear in this position of the BreakTemplate.
optional string ad_spot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the adSpot field is set. |
hasAdSpotFillType()
public boolean hasAdSpotFillType() Optional. The behavior for how the AdSpot should be filled in the context
of the BreakTemplate.
optional .google.ads.admanager.v1.AdSpotFillTypeEnum.AdSpotFillType ad_spot_fill_type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the adSpotFillType field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BreakTemplateMember other)
public BreakTemplateMember.Builder mergeFrom(BreakTemplateMember other)| Parameter | |
|---|---|
| Name | Description |
other |
BreakTemplateMember |
| Returns | |
|---|---|
| Type | Description |
BreakTemplateMember.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BreakTemplateMember.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BreakTemplateMember.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BreakTemplateMember.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BreakTemplateMember.Builder |
|
setAdSpot(String value)
public BreakTemplateMember.Builder setAdSpot(String value) Required. The ID of the AdSpot that has the settings about what kinds of
ads can appear in this position of the BreakTemplate.
optional string ad_spot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe adSpot to set. |
| Returns | |
|---|---|
| Type | Description |
BreakTemplateMember.Builder |
This builder for chaining. |
setAdSpotBytes(ByteString value)
public BreakTemplateMember.Builder setAdSpotBytes(ByteString value) Required. The ID of the AdSpot that has the settings about what kinds of
ads can appear in this position of the BreakTemplate.
optional string ad_spot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for adSpot to set. |
| Returns | |
|---|---|
| Type | Description |
BreakTemplateMember.Builder |
This builder for chaining. |
setAdSpotFillType(AdSpotFillTypeEnum.AdSpotFillType value)
public BreakTemplateMember.Builder setAdSpotFillType(AdSpotFillTypeEnum.AdSpotFillType value) Optional. The behavior for how the AdSpot should be filled in the context
of the BreakTemplate.
optional .google.ads.admanager.v1.AdSpotFillTypeEnum.AdSpotFillType ad_spot_fill_type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AdSpotFillTypeEnum.AdSpotFillTypeThe adSpotFillType to set. |
| Returns | |
|---|---|
| Type | Description |
BreakTemplateMember.Builder |
This builder for chaining. |
setAdSpotFillTypeValue(int value)
public BreakTemplateMember.Builder setAdSpotFillTypeValue(int value) Optional. The behavior for how the AdSpot should be filled in the context
of the BreakTemplate.
optional .google.ads.admanager.v1.AdSpotFillTypeEnum.AdSpotFillType ad_spot_fill_type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for adSpotFillType to set. |
| Returns | |
|---|---|
| Type | Description |
BreakTemplateMember.Builder |
This builder for chaining. |