Class MerchantCenterFeedFilter.Builder (2.44.0)

public static final class MerchantCenterFeedFilter.Builder extends GeneratedMessageV3.Builder<MerchantCenterFeedFilter.Builder> implements MerchantCenterFeedFilterOrBuilder

Merchant Center Feed filter criterion.

Protobuf type google.cloud.retail.v2beta.MerchantCenterFeedFilter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MerchantCenterFeedFilter build()
Returns
Type Description
MerchantCenterFeedFilter

buildPartial()

public MerchantCenterFeedFilter buildPartial()
Returns
Type Description
MerchantCenterFeedFilter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrimaryFeedId()

public MerchantCenterFeedFilter.Builder clearPrimaryFeedId()

Merchant Center primary feed ID.

int64 primary_feed_id = 1;

Returns
Type Description
MerchantCenterFeedFilter.Builder

This builder for chaining.

clearPrimaryFeedName()

public MerchantCenterFeedFilter.Builder clearPrimaryFeedName()

Merchant Center primary feed name. The name is used for the display purposes only.

string primary_feed_name = 2;

Returns
Type Description
MerchantCenterFeedFilter.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public MerchantCenterFeedFilter getDefaultInstanceForType()
Returns
Type Description
MerchantCenterFeedFilter

getDescriptorForType()

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

getPrimaryFeedId()

public long getPrimaryFeedId()

Merchant Center primary feed ID.

int64 primary_feed_id = 1;

Returns
Type Description
long

The primaryFeedId.

getPrimaryFeedName()

public String getPrimaryFeedName()

Merchant Center primary feed name. The name is used for the display purposes only.

string primary_feed_name = 2;

Returns
Type Description
String

The primaryFeedName.

getPrimaryFeedNameBytes()

public ByteString getPrimaryFeedNameBytes()

Merchant Center primary feed name. The name is used for the display purposes only.

string primary_feed_name = 2;

Returns
Type Description
ByteString

The bytes for primaryFeedName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MerchantCenterFeedFilter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPrimaryFeedId(long value)

public MerchantCenterFeedFilter.Builder setPrimaryFeedId(long value)

Merchant Center primary feed ID.

int64 primary_feed_id = 1;

Parameter
Name Description
value long

The primaryFeedId to set.

Returns
Type Description
MerchantCenterFeedFilter.Builder

This builder for chaining.

setPrimaryFeedName(String value)

public MerchantCenterFeedFilter.Builder setPrimaryFeedName(String value)

Merchant Center primary feed name. The name is used for the display purposes only.

string primary_feed_name = 2;

Parameter
Name Description
value String

The primaryFeedName to set.

Returns
Type Description
MerchantCenterFeedFilter.Builder

This builder for chaining.

setPrimaryFeedNameBytes(ByteString value)

public MerchantCenterFeedFilter.Builder setPrimaryFeedNameBytes(ByteString value)

Merchant Center primary feed name. The name is used for the display purposes only.

string primary_feed_name = 2;

Parameter
Name Description
value ByteString

The bytes for primaryFeedName to set.

Returns
Type Description
MerchantCenterFeedFilter.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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