Class MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder (2.29.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
TypeDescription
Descriptor

Methods

public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
public MerchantCenterAccountLink.MerchantCenterFeedFilter build()
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter
public MerchantCenterAccountLink.MerchantCenterFeedFilter buildPartial()
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder clear()
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder clearPrimaryFeedId()

Merchant Center primary feed ID.

int64 primary_feed_id = 1;

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

This builder for chaining.

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

Merchant Center primary feed ID.

int64 primary_feed_id = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for primaryFeedName.

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder mergeFrom(MerchantCenterAccountLink.MerchantCenterFeedFilter other)
Parameter
NameDescription
otherMerchantCenterAccountLink.MerchantCenterFeedFilter
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
Exceptions
TypeDescription
IOException
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
public final MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder setPrimaryFeedId(long value)

Merchant Center primary feed ID.

int64 primary_feed_id = 1;

Parameter
NameDescription
valuelong

The primaryFeedId to set.

Returns
TypeDescription
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
NameDescription
valueString

The primaryFeedName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for primaryFeedName to set.

Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder

This builder for chaining.

public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
public final MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides