Class InsertCssProductInputRequest.Builder (0.23.0)

public static final class InsertCssProductInputRequest.Builder extends GeneratedMessageV3.Builder<InsertCssProductInputRequest.Builder> implements InsertCssProductInputRequestOrBuilder

Request message for the InsertCssProductInput method.

Protobuf type google.shopping.css.v1.InsertCssProductInputRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InsertCssProductInputRequest build()
Returns
Type Description
InsertCssProductInputRequest

buildPartial()

public InsertCssProductInputRequest buildPartial()
Returns
Type Description
InsertCssProductInputRequest

clear()

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

clearCssProductInput()

public InsertCssProductInputRequest.Builder clearCssProductInput()

Required. The CSS Product Input to insert.

.google.shopping.css.v1.CssProductInput css_product_input = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InsertCssProductInputRequest.Builder

clearFeedId()

public InsertCssProductInputRequest.Builder clearFeedId()

Required. The primary or supplemental feed id. If CSS Product already exists and feed id provided is different, then the CSS Product will be moved to a new feed. Note: For now, CSSs do not need to provide feed ids as we create feeds on the fly. We do not have supplemental feed support for CSS Products yet.

int64 feed_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InsertCssProductInputRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InsertCssProductInputRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InsertCssProductInputRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public InsertCssProductInputRequest.Builder clearParent()

Required. The account where this CSS Product will be inserted. Format: accounts/{account}

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

Returns
Type Description
InsertCssProductInputRequest.Builder

This builder for chaining.

clone()

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

getCssProductInput()

public CssProductInput getCssProductInput()

Required. The CSS Product Input to insert.

.google.shopping.css.v1.CssProductInput css_product_input = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CssProductInput

The cssProductInput.

getCssProductInputBuilder()

public CssProductInput.Builder getCssProductInputBuilder()

Required. The CSS Product Input to insert.

.google.shopping.css.v1.CssProductInput css_product_input = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CssProductInput.Builder

getCssProductInputOrBuilder()

public CssProductInputOrBuilder getCssProductInputOrBuilder()

Required. The CSS Product Input to insert.

.google.shopping.css.v1.CssProductInput css_product_input = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CssProductInputOrBuilder

getDefaultInstanceForType()

public InsertCssProductInputRequest getDefaultInstanceForType()
Returns
Type Description
InsertCssProductInputRequest

getDescriptorForType()

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

getFeedId()

public long getFeedId()

Required. The primary or supplemental feed id. If CSS Product already exists and feed id provided is different, then the CSS Product will be moved to a new feed. Note: For now, CSSs do not need to provide feed ids as we create feeds on the fly. We do not have supplemental feed support for CSS Products yet.

int64 feed_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The feedId.

getParent()

public String getParent()

Required. The account where this CSS Product will be inserted. Format: accounts/{account}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The account where this CSS Product will be inserted. Format: accounts/{account}

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

Returns
Type Description
ByteString

The bytes for parent.

hasCssProductInput()

public boolean hasCssProductInput()

Required. The CSS Product Input to insert.

.google.shopping.css.v1.CssProductInput css_product_input = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the cssProductInput field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCssProductInput(CssProductInput value)

public InsertCssProductInputRequest.Builder mergeCssProductInput(CssProductInput value)

Required. The CSS Product Input to insert.

.google.shopping.css.v1.CssProductInput css_product_input = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CssProductInput
Returns
Type Description
InsertCssProductInputRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(InsertCssProductInputRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCssProductInput(CssProductInput value)

public InsertCssProductInputRequest.Builder setCssProductInput(CssProductInput value)

Required. The CSS Product Input to insert.

.google.shopping.css.v1.CssProductInput css_product_input = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CssProductInput
Returns
Type Description
InsertCssProductInputRequest.Builder

setCssProductInput(CssProductInput.Builder builderForValue)

public InsertCssProductInputRequest.Builder setCssProductInput(CssProductInput.Builder builderForValue)

Required. The CSS Product Input to insert.

.google.shopping.css.v1.CssProductInput css_product_input = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CssProductInput.Builder
Returns
Type Description
InsertCssProductInputRequest.Builder

setFeedId(long value)

public InsertCssProductInputRequest.Builder setFeedId(long value)

Required. The primary or supplemental feed id. If CSS Product already exists and feed id provided is different, then the CSS Product will be moved to a new feed. Note: For now, CSSs do not need to provide feed ids as we create feeds on the fly. We do not have supplemental feed support for CSS Products yet.

int64 feed_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value long

The feedId to set.

Returns
Type Description
InsertCssProductInputRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public InsertCssProductInputRequest.Builder setParent(String value)

Required. The account where this CSS Product will be inserted. Format: accounts/{account}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
InsertCssProductInputRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public InsertCssProductInputRequest.Builder setParentBytes(ByteString value)

Required. The account where this CSS Product will be inserted. Format: accounts/{account}

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
InsertCssProductInputRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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