public final class ExportProductsRequest extends com.google.protobuf.GeneratedMessageV3 implements ExportProductsRequestOrBuilder
Request message for ExportProducts method.Protobuf type
google.cloud.retail.v2alpha.ExportProductsRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ExportProductsRequest.Builder
Request message for ExportProducts method.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
FILTER_FIELD_NUMBER |
static int |
OUTPUT_CONFIG_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ExportProductsRequest |
getDefaultInstance() |
ExportProductsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFilter()
A filtering expression to specify restrictions on returned events.
|
com.google.protobuf.ByteString |
getFilterBytes()
A filtering expression to specify restrictions on returned events.
|
OutputConfig |
getOutputConfig()
Required.
|
OutputConfigOrBuilder |
getOutputConfigOrBuilder()
Required.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
com.google.protobuf.Parser<ExportProductsRequest> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
boolean |
hasOutputConfig()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ExportProductsRequest.Builder |
newBuilder() |
static ExportProductsRequest.Builder |
newBuilder(ExportProductsRequest prototype) |
ExportProductsRequest.Builder |
newBuilderForType() |
protected ExportProductsRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ExportProductsRequest |
parseDelimitedFrom(InputStream input) |
static ExportProductsRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExportProductsRequest |
parseFrom(byte[] data) |
static ExportProductsRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExportProductsRequest |
parseFrom(ByteBuffer data) |
static ExportProductsRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExportProductsRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ExportProductsRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExportProductsRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ExportProductsRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExportProductsRequest |
parseFrom(InputStream input) |
static ExportProductsRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ExportProductsRequest> |
parser() |
ExportProductsRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PARENT_FIELD_NUMBER
public static final int OUTPUT_CONFIG_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getParent()
Required. Resource name of a [Branch][google.cloud.retail.v2alpha.Branch], and `default_branch` for branch_id component is supported. For example `projects/1234/locations/global/catalogs/default_catalog/branches/default_branch`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ExportProductsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. Resource name of a [Branch][google.cloud.retail.v2alpha.Branch], and `default_branch` for branch_id component is supported. For example `projects/1234/locations/global/catalogs/default_catalog/branches/default_branch`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ExportProductsRequestOrBuilderpublic boolean hasOutputConfig()
Required. The output location of the data.
.google.cloud.retail.v2alpha.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
hasOutputConfig in interface ExportProductsRequestOrBuilderpublic OutputConfig getOutputConfig()
Required. The output location of the data.
.google.cloud.retail.v2alpha.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
getOutputConfig in interface ExportProductsRequestOrBuilderpublic OutputConfigOrBuilder getOutputConfigOrBuilder()
Required. The output location of the data.
.google.cloud.retail.v2alpha.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
getOutputConfigOrBuilder in interface ExportProductsRequestOrBuilderpublic String getFilter()
A filtering expression to specify restrictions on returned events.
The expression is a sequence of terms. Each term applies a restriction to
the returned products. Use this expression to restrict results to a
specific time range, tag, or stock state or to filter products by product
type.
For example, `lastModifiedTime > "2012-04-23T18:25:43.511Z"
lastModifiedTime<"2012-04-23T18:25:43.511Z" productType=primary`
We expect only four types of fields:
* `lastModifiedTime`: This can be specified twice, once with a
less than operator and once with a greater than operator. The
`lastModifiedTime` restriction should result in one, contiguous,
valid, last-modified, time range.
* `productType`: Supported values are `primary` and `variant`. The
Boolean operators `OR` and `NOT` are supported if the expression is
enclosed in parentheses and must be separated from the
`productType` values by a space.
* `availability`: Supported values are `IN_STOCK`, `OUT_OF_STOCK`,
`PREORDER`, and `BACKORDER`. Boolean operators `OR` and `NOT` are
supported if the expression is enclosed in parentheses and must be
separated from the `availability` values by a space.
* `Tag expressions`: Restricts output to products that match all of the
specified tags. Boolean operators `OR` and `NOT` are supported if the
expression is enclosed in parentheses and the operators are separated
from the tag values by a space. Also supported is '`-"tagA"`', which
is equivalent to '`NOT "tagA"`'. Tag values must be double-quoted,
UTF-8 encoded strings and have a size limit of 1,000 characters.
Some examples of valid filters expressions:
* Example 1: `lastModifiedTime > "2012-04-23T18:25:43.511Z"
lastModifiedTime < "2012-04-23T18:30:43.511Z"`
* Example 2: `lastModifiedTime > "2012-04-23T18:25:43.511Z"
productType = "variant"`
* Example 3: `tag=("Red" OR "Blue") tag="New-Arrival"
tag=(NOT "promotional")
productType = "primary" lastModifiedTime <
"2018-04-23T18:30:43.511Z"`
* Example 4: `lastModifiedTime > "2012-04-23T18:25:43.511Z"`
* Example 5: `availability = (IN_STOCK OR BACKORDER)`
string filter = 3;getFilter in interface ExportProductsRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
A filtering expression to specify restrictions on returned events.
The expression is a sequence of terms. Each term applies a restriction to
the returned products. Use this expression to restrict results to a
specific time range, tag, or stock state or to filter products by product
type.
For example, `lastModifiedTime > "2012-04-23T18:25:43.511Z"
lastModifiedTime<"2012-04-23T18:25:43.511Z" productType=primary`
We expect only four types of fields:
* `lastModifiedTime`: This can be specified twice, once with a
less than operator and once with a greater than operator. The
`lastModifiedTime` restriction should result in one, contiguous,
valid, last-modified, time range.
* `productType`: Supported values are `primary` and `variant`. The
Boolean operators `OR` and `NOT` are supported if the expression is
enclosed in parentheses and must be separated from the
`productType` values by a space.
* `availability`: Supported values are `IN_STOCK`, `OUT_OF_STOCK`,
`PREORDER`, and `BACKORDER`. Boolean operators `OR` and `NOT` are
supported if the expression is enclosed in parentheses and must be
separated from the `availability` values by a space.
* `Tag expressions`: Restricts output to products that match all of the
specified tags. Boolean operators `OR` and `NOT` are supported if the
expression is enclosed in parentheses and the operators are separated
from the tag values by a space. Also supported is '`-"tagA"`', which
is equivalent to '`NOT "tagA"`'. Tag values must be double-quoted,
UTF-8 encoded strings and have a size limit of 1,000 characters.
Some examples of valid filters expressions:
* Example 1: `lastModifiedTime > "2012-04-23T18:25:43.511Z"
lastModifiedTime < "2012-04-23T18:30:43.511Z"`
* Example 2: `lastModifiedTime > "2012-04-23T18:25:43.511Z"
productType = "variant"`
* Example 3: `tag=("Red" OR "Blue") tag="New-Arrival"
tag=(NOT "promotional")
productType = "primary" lastModifiedTime <
"2018-04-23T18:30:43.511Z"`
* Example 4: `lastModifiedTime > "2012-04-23T18:25:43.511Z"`
* Example 5: `availability = (IN_STOCK OR BACKORDER)`
string filter = 3;getFilterBytes in interface ExportProductsRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ExportProductsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExportProductsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExportProductsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExportProductsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExportProductsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExportProductsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExportProductsRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ExportProductsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExportProductsRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ExportProductsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExportProductsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ExportProductsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ExportProductsRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ExportProductsRequest.Builder newBuilder()
public static ExportProductsRequest.Builder newBuilder(ExportProductsRequest prototype)
public ExportProductsRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ExportProductsRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ExportProductsRequest getDefaultInstance()
public static com.google.protobuf.Parser<ExportProductsRequest> parser()
public com.google.protobuf.Parser<ExportProductsRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ExportProductsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.