Class MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder (2.56.0)

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

Merchant Center Feed filter criterion.

Protobuf type google.cloud.retail.v2alpha.MerchantCenterAccountLink.MerchantCenterFeedFilter

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder

Static Methods

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

Methods

public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
public MerchantCenterAccountLink.MerchantCenterFeedFilter build()
Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilter
public MerchantCenterAccountLink.MerchantCenterFeedFilter buildPartial()
Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilter
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder clear()
Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder clearPrimaryFeedId()

Merchant Center primary feed ID.

int64 primary_feed_id = 1;

Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder

This builder for chaining.

public MerchantCenterAccountLink.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
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder

This builder for chaining.

public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder clone()
Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
public MerchantCenterAccountLink.MerchantCenterFeedFilter getDefaultInstanceForType()
Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilter
public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
public long getPrimaryFeedId()

Merchant Center primary feed ID.

int64 primary_feed_id = 1;

Returns
Type Description
long

The primaryFeedId.

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.

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.

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder mergeFrom(MerchantCenterAccountLink.MerchantCenterFeedFilter other)
Parameter
Name Description
other MerchantCenterAccountLink.MerchantCenterFeedFilter
Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
Exceptions
Type Description
IOException
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
public final MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
public MerchantCenterAccountLink.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
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder

This builder for chaining.

public MerchantCenterAccountLink.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
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder

This builder for chaining.

public MerchantCenterAccountLink.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
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder

This builder for chaining.

public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
public final MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides