public static final class PreviewLineItemCreativeAssociationRequest.Builder extends GeneratedMessage.Builder<PreviewLineItemCreativeAssociationRequest.Builder> implements PreviewLineItemCreativeAssociationRequestOrBuilder Request message for PreviewLineItemCreativeAssociation method.
Protobuf type google.ads.admanager.v1.PreviewLineItemCreativeAssociationRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PreviewLineItemCreativeAssociationRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PreviewLineItemCreativeAssociationRequest build()| Returns | |
|---|---|
| Type | Description |
PreviewLineItemCreativeAssociationRequest |
|
buildPartial()
public PreviewLineItemCreativeAssociationRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
PreviewLineItemCreativeAssociationRequest |
|
clear()
public PreviewLineItemCreativeAssociationRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
PreviewLineItemCreativeAssociationRequest.Builder |
|
clearName()
public PreviewLineItemCreativeAssociationRequest.Builder clearName() Required. The name of the LineItemCreativeAssociation object to preview.
Format:
networks/{network_code}/lineItems/{line_item_id}/creatives/{creative_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
PreviewLineItemCreativeAssociationRequest.Builder |
This builder for chaining. |
clearSiteUrl()
public PreviewLineItemCreativeAssociationRequest.Builder clearSiteUrl()Required. The URL of the site that the creative should be previewed in
string site_url = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PreviewLineItemCreativeAssociationRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PreviewLineItemCreativeAssociationRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PreviewLineItemCreativeAssociationRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Required. The name of the LineItemCreativeAssociation object to preview.
Format:
networks/{network_code}/lineItems/{line_item_id}/creatives/{creative_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. The name of the LineItemCreativeAssociation object to preview.
Format:
networks/{network_code}/lineItems/{line_item_id}/creatives/{creative_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSiteUrl()
public String getSiteUrl()Required. The URL of the site that the creative should be previewed in
string site_url = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The siteUrl. |
getSiteUrlBytes()
public ByteString getSiteUrlBytes()Required. The URL of the site that the creative should be previewed in
string site_url = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for siteUrl. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PreviewLineItemCreativeAssociationRequest other)
public PreviewLineItemCreativeAssociationRequest.Builder mergeFrom(PreviewLineItemCreativeAssociationRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
PreviewLineItemCreativeAssociationRequest |
| Returns | |
|---|---|
| Type | Description |
PreviewLineItemCreativeAssociationRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PreviewLineItemCreativeAssociationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PreviewLineItemCreativeAssociationRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PreviewLineItemCreativeAssociationRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PreviewLineItemCreativeAssociationRequest.Builder |
|
setName(String value)
public PreviewLineItemCreativeAssociationRequest.Builder setName(String value) Required. The name of the LineItemCreativeAssociation object to preview.
Format:
networks/{network_code}/lineItems/{line_item_id}/creatives/{creative_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
PreviewLineItemCreativeAssociationRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public PreviewLineItemCreativeAssociationRequest.Builder setNameBytes(ByteString value) Required. The name of the LineItemCreativeAssociation object to preview.
Format:
networks/{network_code}/lineItems/{line_item_id}/creatives/{creative_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
PreviewLineItemCreativeAssociationRequest.Builder |
This builder for chaining. |
setSiteUrl(String value)
public PreviewLineItemCreativeAssociationRequest.Builder setSiteUrl(String value)Required. The URL of the site that the creative should be previewed in
string site_url = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe siteUrl to set. |
| Returns | |
|---|---|
| Type | Description |
PreviewLineItemCreativeAssociationRequest.Builder |
This builder for chaining. |
setSiteUrlBytes(ByteString value)
public PreviewLineItemCreativeAssociationRequest.Builder setSiteUrlBytes(ByteString value)Required. The URL of the site that the creative should be previewed in
string site_url = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for siteUrl to set. |
| Returns | |
|---|---|
| Type | Description |
PreviewLineItemCreativeAssociationRequest.Builder |
This builder for chaining. |