public static final class InsertCssProductInputRequest.Builder extends GeneratedMessage.Builder<InsertCssProductInputRequest.Builder> implements InsertCssProductInputRequestOrBuilderRequest message for the InsertCssProductInput method.
Protobuf type google.shopping.css.v1.InsertCssProductInputRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InsertCssProductInputRequest.BuilderImplements
InsertCssProductInputRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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() (deprecated)
public InsertCssProductInputRequest.Builder clearFeedId()Deprecated. google.shopping.css.v1.InsertCssProductInputRequest.feed_id is deprecated. See google/shopping/css/v1/css_product_inputs.proto;l=178
Optional. DEPRECATED. Feed id is not required for CSS Products. 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 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
InsertCssProductInputRequest.Builder |
This builder for chaining. |
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. |
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 |
|
getFeedId() (deprecated)
public long getFeedId()Deprecated. google.shopping.css.v1.InsertCssProductInputRequest.feed_id is deprecated. See google/shopping/css/v1/css_product_inputs.proto;l=178
Optional. DEPRECATED. Feed id is not required for CSS Products. 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 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InsertCssProductInputRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InsertCssProductInputRequest.Builder |
|
mergeFrom(InsertCssProductInputRequest other)
public InsertCssProductInputRequest.Builder mergeFrom(InsertCssProductInputRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
InsertCssProductInputRequest |
| Returns | |
|---|---|
| Type | Description |
InsertCssProductInputRequest.Builder |
|
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) (deprecated)
public InsertCssProductInputRequest.Builder setFeedId(long value)Deprecated. google.shopping.css.v1.InsertCssProductInputRequest.feed_id is deprecated. See google/shopping/css/v1/css_product_inputs.proto;l=178
Optional. DEPRECATED. Feed id is not required for CSS Products. 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 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe feedId to set. |
| Returns | |
|---|---|
| Type | Description |
InsertCssProductInputRequest.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
InsertCssProductInputRequest.Builder |
This builder for chaining. |