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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MerchantCenterFeedFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MerchantCenterFeedFilter build()
Returns
buildPartial()
public MerchantCenterFeedFilter buildPartial()
Returns
clear()
public MerchantCenterFeedFilter.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public MerchantCenterFeedFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MerchantCenterFeedFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPrimaryFeedId()
public MerchantCenterFeedFilter.Builder clearPrimaryFeedId()
Merchant Center primary feed ID.
int64 primary_feed_id = 1;
Returns
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
clone()
public MerchantCenterFeedFilter.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public MerchantCenterFeedFilter getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(MerchantCenterFeedFilter other)
public MerchantCenterFeedFilter.Builder mergeFrom(MerchantCenterFeedFilter other)
Parameter
Returns
public MerchantCenterFeedFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MerchantCenterFeedFilter.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MerchantCenterFeedFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MerchantCenterFeedFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MerchantCenterFeedFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MerchantCenterFeedFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides