Class MerchantCenterFeedFilter (2.31.0)

public final class MerchantCenterFeedFilter extends GeneratedMessageV3 implements MerchantCenterFeedFilterOrBuilder

Merchant Center Feed filter criterion.

Protobuf type google.cloud.retail.v2alpha.MerchantCenterFeedFilter

Static Fields

PRIMARY_FEED_ID_FIELD_NUMBER

public static final int PRIMARY_FEED_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PRIMARY_FEED_NAME_FIELD_NUMBER

public static final int PRIMARY_FEED_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MerchantCenterFeedFilter getDefaultInstance()
Returns
TypeDescription
MerchantCenterFeedFilter

getDescriptor()

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

newBuilder()

public static MerchantCenterFeedFilter.Builder newBuilder()
Returns
TypeDescription
MerchantCenterFeedFilter.Builder

newBuilder(MerchantCenterFeedFilter prototype)

public static MerchantCenterFeedFilter.Builder newBuilder(MerchantCenterFeedFilter prototype)
Parameter
NameDescription
prototypeMerchantCenterFeedFilter
Returns
TypeDescription
MerchantCenterFeedFilter.Builder

parseDelimitedFrom(InputStream input)

public static MerchantCenterFeedFilter parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MerchantCenterFeedFilter
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterFeedFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterFeedFilter
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MerchantCenterFeedFilter parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MerchantCenterFeedFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterFeedFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterFeedFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MerchantCenterFeedFilter parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MerchantCenterFeedFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterFeedFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterFeedFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MerchantCenterFeedFilter parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MerchantCenterFeedFilter
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterFeedFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterFeedFilter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MerchantCenterFeedFilter parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MerchantCenterFeedFilter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterFeedFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterFeedFilter
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MerchantCenterFeedFilter parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MerchantCenterFeedFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MerchantCenterFeedFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MerchantCenterFeedFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MerchantCenterFeedFilter> parser()
Returns
TypeDescription
Parser<MerchantCenterFeedFilter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public MerchantCenterFeedFilter getDefaultInstanceForType()
Returns
TypeDescription
MerchantCenterFeedFilter

getParserForType()

public Parser<MerchantCenterFeedFilter> getParserForType()
Returns
TypeDescription
Parser<MerchantCenterFeedFilter>
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MerchantCenterFeedFilter.Builder newBuilderForType()
Returns
TypeDescription
MerchantCenterFeedFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MerchantCenterFeedFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MerchantCenterFeedFilter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MerchantCenterFeedFilter.Builder toBuilder()
Returns
TypeDescription
MerchantCenterFeedFilter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException