Class DeleteCssProductInputRequest.Builder (0.17.0)

public static final class DeleteCssProductInputRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteCssProductInputRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteCssProductInputRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public DeleteCssProductInputRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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}

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

Returns
Type Description
DeleteCssProductInputRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteCssProductInputRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeleteCssProductInputRequest.Builder
Overrides

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.

clone()

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

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}

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}

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteCssProductInputRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteCssProductInputRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteCssProductInputRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteCssProductInputRequest.Builder
Overrides

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}

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}

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteCssProductInputRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeleteCssProductInputRequest.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteCssProductInputRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteCssProductInputRequest.Builder
Overrides