Class DeleteCssProductInputRequest.Builder (0.51.0)

public static final class DeleteCssProductInputRequest.Builder extends GeneratedMessage.Builder<DeleteCssProductInputRequest.Builder> implements DeleteCssProductInputRequestOrBuilder

Request message for the DeleteCssProductInput method.

Protobuf type google.shopping.css.v1.DeleteCssProductInputRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DeleteCssProductInputRequest build()
Returns
Type Description
DeleteCssProductInputRequest

buildPartial()

public DeleteCssProductInputRequest buildPartial()
Returns
Type Description
DeleteCssProductInputRequest

clear()

public DeleteCssProductInputRequest.Builder clear()
Returns
Type Description
DeleteCssProductInputRequest.Builder
Overrides

clearName()

public DeleteCssProductInputRequest.Builder clearName()

Required. The name of the CSS product input resource to delete. Format: accounts/{account}/cssProductInputs/{css_product_input}, where the last section css_product_input consists of 3 parts: contentLanguage~feedLabel~offerId. Example: accounts/123/cssProductInputs/de~DE~rawProvidedId123

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeleteCssProductInputRequest.Builder

This builder for chaining.

clearSupplementalFeedId()

public DeleteCssProductInputRequest.Builder clearSupplementalFeedId()

The Content API Supplemental Feed ID. The field must not be set if the action applies to a primary feed. If the field is set, then product action applies to a supplemental feed instead of primary Content API feed.

optional int64 supplemental_feed_id = 2;

Returns
Type Description
DeleteCssProductInputRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeleteCssProductInputRequest getDefaultInstanceForType()
Returns
Type Description
DeleteCssProductInputRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The name of the CSS product input resource to delete. Format: accounts/{account}/cssProductInputs/{css_product_input}, where the last section css_product_input consists of 3 parts: contentLanguage~feedLabel~offerId. Example: accounts/123/cssProductInputs/de~DE~rawProvidedId123

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 CSS product input resource to delete. Format: accounts/{account}/cssProductInputs/{css_product_input}, where the last section css_product_input consists of 3 parts: contentLanguage~feedLabel~offerId. Example: accounts/123/cssProductInputs/de~DE~rawProvidedId123

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getSupplementalFeedId()

public long getSupplementalFeedId()

The Content API Supplemental Feed ID. The field must not be set if the action applies to a primary feed. If the field is set, then product action applies to a supplemental feed instead of primary Content API feed.

optional int64 supplemental_feed_id = 2;

Returns
Type Description
long

The supplementalFeedId.

hasSupplementalFeedId()

public boolean hasSupplementalFeedId()

The Content API Supplemental Feed ID. The field must not be set if the action applies to a primary feed. If the field is set, then product action applies to a supplemental feed instead of primary Content API feed.

optional int64 supplemental_feed_id = 2;

Returns
Type Description
boolean

Whether the supplementalFeedId field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteCssProductInputRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteCssProductInputRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeleteCssProductInputRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeleteCssProductInputRequest.Builder
Overrides

mergeFrom(DeleteCssProductInputRequest other)

public DeleteCssProductInputRequest.Builder mergeFrom(DeleteCssProductInputRequest other)
Parameter
Name Description
other DeleteCssProductInputRequest
Returns
Type Description
DeleteCssProductInputRequest.Builder

setName(String value)

public DeleteCssProductInputRequest.Builder setName(String value)

Required. The name of the CSS product input resource to delete. Format: accounts/{account}/cssProductInputs/{css_product_input}, where the last section css_product_input consists of 3 parts: contentLanguage~feedLabel~offerId. Example: accounts/123/cssProductInputs/de~DE~rawProvidedId123

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteCssProductInputRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteCssProductInputRequest.Builder setNameBytes(ByteString value)

Required. The name of the CSS product input resource to delete. Format: accounts/{account}/cssProductInputs/{css_product_input}, where the last section css_product_input consists of 3 parts: contentLanguage~feedLabel~offerId. Example: accounts/123/cssProductInputs/de~DE~rawProvidedId123

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteCssProductInputRequest.Builder

This builder for chaining.

setSupplementalFeedId(long value)

public DeleteCssProductInputRequest.Builder setSupplementalFeedId(long value)

The Content API Supplemental Feed ID. The field must not be set if the action applies to a primary feed. If the field is set, then product action applies to a supplemental feed instead of primary Content API feed.

optional int64 supplemental_feed_id = 2;

Parameter
Name Description
value long

The supplementalFeedId to set.

Returns
Type Description
DeleteCssProductInputRequest.Builder

This builder for chaining.