Class DeleteCssProductInputRequest.Builder (0.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteCssProductInputRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteCssProductInputRequest.Builder
Overrides

build()

public DeleteCssProductInputRequest build()
Returns
TypeDescription
DeleteCssProductInputRequest

buildPartial()

public DeleteCssProductInputRequest buildPartial()
Returns
TypeDescription
DeleteCssProductInputRequest

clear()

public DeleteCssProductInputRequest.Builder clear()
Returns
TypeDescription
DeleteCssProductInputRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteCssProductInputRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DeleteCssProductInputRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteCssProductInputRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DeleteCssProductInputRequest.Builder

This builder for chaining.

clone()

public DeleteCssProductInputRequest.Builder clone()
Returns
TypeDescription
DeleteCssProductInputRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteCssProductInputRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteCssProductInputRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the supplementalFeedId field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteCssProductInputRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteCssProductInputRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteCssProductInputRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteCssProductInputRequest.Builder
Overrides

mergeFrom(DeleteCssProductInputRequest other)

public DeleteCssProductInputRequest.Builder mergeFrom(DeleteCssProductInputRequest other)
Parameter
NameDescription
otherDeleteCssProductInputRequest
Returns
TypeDescription
DeleteCssProductInputRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteCssProductInputRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteCssProductInputRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteCssProductInputRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The supplementalFeedId to set.

Returns
TypeDescription
DeleteCssProductInputRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteCssProductInputRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteCssProductInputRequest.Builder
Overrides