Class MerchantCenterAccountLink.MerchantCenterFeedFilter (2.39.0)

public static final class MerchantCenterAccountLink.MerchantCenterFeedFilter extends GeneratedMessageV3 implements MerchantCenterAccountLink.MerchantCenterFeedFilterOrBuilder

Merchant Center Feed filter criterion.

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

Inheritance

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

Static Fields

public static final int PRIMARY_FEED_ID_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int PRIMARY_FEED_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

public static MerchantCenterAccountLink.MerchantCenterFeedFilter getDefaultInstance()
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter
public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor
public static MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder newBuilder()
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
public static MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder newBuilder(MerchantCenterAccountLink.MerchantCenterFeedFilter prototype)
Parameter
NameDescription
prototypeMerchantCenterAccountLink.MerchantCenterFeedFilter
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
public static MerchantCenterAccountLink.MerchantCenterFeedFilter parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter
Exceptions
TypeDescription
IOException
public static MerchantCenterAccountLink.MerchantCenterFeedFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter
Exceptions
TypeDescription
IOException
public static MerchantCenterAccountLink.MerchantCenterFeedFilter parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter
Exceptions
TypeDescription
InvalidProtocolBufferException
public static MerchantCenterAccountLink.MerchantCenterFeedFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter
Exceptions
TypeDescription
InvalidProtocolBufferException
public static MerchantCenterAccountLink.MerchantCenterFeedFilter parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter
Exceptions
TypeDescription
InvalidProtocolBufferException
public static MerchantCenterAccountLink.MerchantCenterFeedFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter
Exceptions
TypeDescription
InvalidProtocolBufferException
public static MerchantCenterAccountLink.MerchantCenterFeedFilter parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter
Exceptions
TypeDescription
IOException
public static MerchantCenterAccountLink.MerchantCenterFeedFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter
Exceptions
TypeDescription
IOException
public static MerchantCenterAccountLink.MerchantCenterFeedFilter parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter
Exceptions
TypeDescription
IOException
public static MerchantCenterAccountLink.MerchantCenterFeedFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter
Exceptions
TypeDescription
IOException
public static MerchantCenterAccountLink.MerchantCenterFeedFilter parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter
Exceptions
TypeDescription
InvalidProtocolBufferException
public static MerchantCenterAccountLink.MerchantCenterFeedFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter
Exceptions
TypeDescription
InvalidProtocolBufferException
public static Parser<MerchantCenterAccountLink.MerchantCenterFeedFilter> parser()
Returns
TypeDescription
Parser<MerchantCenterFeedFilter>

Methods

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides
public MerchantCenterAccountLink.MerchantCenterFeedFilter getDefaultInstanceForType()
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter
public Parser<MerchantCenterAccountLink.MerchantCenterFeedFilter> getParserForType()
Returns
TypeDescription
Parser<MerchantCenterFeedFilter>
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.

public int getSerializedSize()
Returns
TypeDescription
int
Overrides
public int hashCode()
Returns
TypeDescription
int
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder newBuilderForType()
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
protected MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder toBuilder()
Returns
TypeDescription
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder
public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException