public final class AutofeedSettings extends GeneratedMessageV3 implements AutofeedSettingsOrBuilder
Collection of information related to the autofeed settings.
Protobuf type google.shopping.merchant.accounts.v1beta.AutofeedSettings
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AutofeedSettingsImplements
AutofeedSettingsOrBuilderStatic Fields
ELIGIBLE_FIELD_NUMBER
public static final int ELIGIBLE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ENABLE_PRODUCTS_FIELD_NUMBER
public static final int ENABLE_PRODUCTS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static AutofeedSettings getDefaultInstance()
Returns | |
---|---|
Type | Description |
AutofeedSettings |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static AutofeedSettings.Builder newBuilder()
Returns | |
---|---|
Type | Description |
AutofeedSettings.Builder |
newBuilder(AutofeedSettings prototype)
public static AutofeedSettings.Builder newBuilder(AutofeedSettings prototype)
Parameter | |
---|---|
Name | Description |
prototype |
AutofeedSettings |
Returns | |
---|---|
Type | Description |
AutofeedSettings.Builder |
parseDelimitedFrom(InputStream input)
public static AutofeedSettings parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
AutofeedSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AutofeedSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutofeedSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static AutofeedSettings parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
AutofeedSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutofeedSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutofeedSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static AutofeedSettings parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
AutofeedSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutofeedSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutofeedSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static AutofeedSettings parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
AutofeedSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AutofeedSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutofeedSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static AutofeedSettings parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
AutofeedSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AutofeedSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutofeedSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static AutofeedSettings parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
AutofeedSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutofeedSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutofeedSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<AutofeedSettings> parser()
Returns | |
---|---|
Type | Description |
Parser<AutofeedSettings> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public AutofeedSettings getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AutofeedSettings |
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. |
getParserForType()
public Parser<AutofeedSettings> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<AutofeedSettings> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public AutofeedSettings.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
AutofeedSettings.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AutofeedSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
AutofeedSettings.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public AutofeedSettings.Builder toBuilder()
Returns | |
---|---|
Type | Description |
AutofeedSettings.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |