public static final class AutofeedSettings.Builder extends GeneratedMessage.Builder<AutofeedSettings.Builder> implements AutofeedSettingsOrBuilderCollection of information related to the autofeed settings.
Protobuf type google.shopping.merchant.accounts.v1beta.AutofeedSettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AutofeedSettings.BuilderImplements
AutofeedSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AutofeedSettings build()| Returns | |
|---|---|
| Type | Description |
AutofeedSettings |
|
buildPartial()
public AutofeedSettings buildPartial()| Returns | |
|---|---|
| Type | Description |
AutofeedSettings |
|
clear()
public AutofeedSettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
AutofeedSettings.Builder |
|
clearEligible()
public AutofeedSettings.Builder clearEligible()Output only. Determines whether merchant is eligible for being enrolled into an autofeed.
bool eligible = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AutofeedSettings.Builder |
This builder for chaining. |
clearEnableProducts()
public AutofeedSettings.Builder clearEnableProducts() Required. Enables or disables product crawling through the autofeed for the
given account. Autofeed accounts must meet certain
conditions,
which can be checked through the eligible field.
The account must not be a marketplace.
When the autofeed is enabled for the first time, the products usually
appear instantly. When re-enabling, it might take up to 24 hours for
products to appear.
bool enable_products = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AutofeedSettings.Builder |
This builder for chaining. |
clearName()
public AutofeedSettings.Builder clearName() Identifier. The resource name of the autofeed settings.
Format: accounts/{account}/autofeedSettings.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
AutofeedSettings.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AutofeedSettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AutofeedSettings |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEligible()
public boolean getEligible()Output only. Determines whether merchant is eligible for being enrolled into an autofeed.
bool eligible = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The eligible. |
getEnableProducts()
public boolean getEnableProducts() Required. Enables or disables product crawling through the autofeed for the
given account. Autofeed accounts must meet certain
conditions,
which can be checked through the eligible field.
The account must not be a marketplace.
When the autofeed is enabled for the first time, the products usually
appear instantly. When re-enabling, it might take up to 24 hours for
products to appear.
bool enable_products = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableProducts. |
getName()
public String getName() Identifier. The resource name of the autofeed settings.
Format: accounts/{account}/autofeedSettings.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The resource name of the autofeed settings.
Format: accounts/{account}/autofeedSettings.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutofeedSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutofeedSettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AutofeedSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AutofeedSettings.Builder |
|
mergeFrom(AutofeedSettings other)
public AutofeedSettings.Builder mergeFrom(AutofeedSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
AutofeedSettings |
| Returns | |
|---|---|
| Type | Description |
AutofeedSettings.Builder |
|
setEligible(boolean value)
public AutofeedSettings.Builder setEligible(boolean value)Output only. Determines whether merchant is eligible for being enrolled into an autofeed.
bool eligible = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe eligible to set. |
| Returns | |
|---|---|
| Type | Description |
AutofeedSettings.Builder |
This builder for chaining. |
setEnableProducts(boolean value)
public AutofeedSettings.Builder setEnableProducts(boolean value) Required. Enables or disables product crawling through the autofeed for the
given account. Autofeed accounts must meet certain
conditions,
which can be checked through the eligible field.
The account must not be a marketplace.
When the autofeed is enabled for the first time, the products usually
appear instantly. When re-enabling, it might take up to 24 hours for
products to appear.
bool enable_products = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableProducts to set. |
| Returns | |
|---|---|
| Type | Description |
AutofeedSettings.Builder |
This builder for chaining. |
setName(String value)
public AutofeedSettings.Builder setName(String value) Identifier. The resource name of the autofeed settings.
Format: accounts/{account}/autofeedSettings.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
AutofeedSettings.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AutofeedSettings.Builder setNameBytes(ByteString value) Identifier. The resource name of the autofeed settings.
Format: accounts/{account}/autofeedSettings.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
AutofeedSettings.Builder |
This builder for chaining. |