Class MerchantCenterFeedFilter.Builder (2.38.0)

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

Merchant Center Feed filter criterion.

Protobuf type google.cloud.retail.v2alpha.MerchantCenterFeedFilter

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MerchantCenterFeedFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MerchantCenterFeedFilter.Builder
Overrides

build()

public MerchantCenterFeedFilter build()
Returns
TypeDescription
MerchantCenterFeedFilter

buildPartial()

public MerchantCenterFeedFilter buildPartial()
Returns
TypeDescription
MerchantCenterFeedFilter

clear()

public MerchantCenterFeedFilter.Builder clear()
Returns
TypeDescription
MerchantCenterFeedFilter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public MerchantCenterFeedFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MerchantCenterFeedFilter.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MerchantCenterFeedFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MerchantCenterFeedFilter.Builder
Overrides

clearPrimaryFeedId()

public MerchantCenterFeedFilter.Builder clearPrimaryFeedId()

Merchant Center primary feed ID.

int64 primary_feed_id = 1;

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

This builder for chaining.

clone()

public MerchantCenterFeedFilter.Builder clone()
Returns
TypeDescription
MerchantCenterFeedFilter.Builder
Overrides

getDefaultInstanceForType()

public MerchantCenterFeedFilter getDefaultInstanceForType()
Returns
TypeDescription
MerchantCenterFeedFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPrimaryFeedId()

public long getPrimaryFeedId()

Merchant Center primary feed ID.

int64 primary_feed_id = 1;

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

The bytes for primaryFeedName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MerchantCenterFeedFilter other)

public MerchantCenterFeedFilter.Builder mergeFrom(MerchantCenterFeedFilter other)
Parameter
NameDescription
otherMerchantCenterFeedFilter
Returns
TypeDescription
MerchantCenterFeedFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MerchantCenterFeedFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterFeedFilter.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MerchantCenterFeedFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MerchantCenterFeedFilter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MerchantCenterFeedFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MerchantCenterFeedFilter.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public MerchantCenterFeedFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MerchantCenterFeedFilter.Builder
Overrides

setPrimaryFeedId(long value)

public MerchantCenterFeedFilter.Builder setPrimaryFeedId(long value)

Merchant Center primary feed ID.

int64 primary_feed_id = 1;

Parameter
NameDescription
valuelong

The primaryFeedId to set.

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

The primaryFeedName to set.

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

The bytes for primaryFeedName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MerchantCenterFeedFilter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MerchantCenterFeedFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MerchantCenterFeedFilter.Builder
Overrides