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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public InsertCssProductInputRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public InsertCssProductInputRequest build()
public InsertCssProductInputRequest buildPartial()
public InsertCssProductInputRequest.Builder clear()
Overrides
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];
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];
public InsertCssProductInputRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public InsertCssProductInputRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
public InsertCssProductInputRequest.Builder clone()
Overrides
public CssProductInput getCssProductInput()
Required. The CSS Product Input to insert.
.google.shopping.css.v1.CssProductInput css_product_input = 2 [(.google.api.field_behavior) = REQUIRED];
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];
public CssProductInputOrBuilder getCssProductInputOrBuilder()
Required. The CSS Product Input to insert.
.google.shopping.css.v1.CssProductInput css_product_input = 2 [(.google.api.field_behavior) = REQUIRED];
public InsertCssProductInputRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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];
public InsertCssProductInputRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public InsertCssProductInputRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public InsertCssProductInputRequest.Builder mergeFrom(InsertCssProductInputRequest other)
public final InsertCssProductInputRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
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.
|
public InsertCssProductInputRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
public InsertCssProductInputRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final InsertCssProductInputRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides