public final class ProductInlineSource extends GeneratedMessageV3 implements ProductInlineSourceOrBuilder
The inline source for the input config for ImportProducts method.
Protobuf type google.cloud.retail.v2.ProductInlineSource
Static Fields
PRODUCTS_FIELD_NUMBER
public static final int PRODUCTS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ProductInlineSource getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ProductInlineSource.Builder newBuilder()
Returns
newBuilder(ProductInlineSource prototype)
public static ProductInlineSource.Builder newBuilder(ProductInlineSource prototype)
Parameter
Returns
public static ProductInlineSource parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ProductInlineSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ProductInlineSource parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProductInlineSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ProductInlineSource parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProductInlineSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProductInlineSource parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ProductInlineSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProductInlineSource parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ProductInlineSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ProductInlineSource parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ProductInlineSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ProductInlineSource> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ProductInlineSource getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ProductInlineSource> getParserForType()
Returns
Overrides
getProducts(int index)
public Product getProducts(int index)
Required. A list of products to update/create. Each product must have a
valid Product.id. Recommended max of
100 items.
repeated .google.cloud.retail.v2.Product products = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getProductsCount()
public int getProductsCount()
Required. A list of products to update/create. Each product must have a
valid Product.id. Recommended max of
100 items.
repeated .google.cloud.retail.v2.Product products = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getProductsList()
public List<Product> getProductsList()
Required. A list of products to update/create. Each product must have a
valid Product.id. Recommended max of
100 items.
repeated .google.cloud.retail.v2.Product products = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getProductsOrBuilder(int index)
public ProductOrBuilder getProductsOrBuilder(int index)
Required. A list of products to update/create. Each product must have a
valid Product.id. Recommended max of
100 items.
repeated .google.cloud.retail.v2.Product products = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getProductsOrBuilderList()
public List<? extends ProductOrBuilder> getProductsOrBuilderList()
Required. A list of products to update/create. Each product must have a
valid Product.id. Recommended max of
100 items.
repeated .google.cloud.retail.v2.Product products = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
List<? extends com.google.cloud.retail.v2.ProductOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ProductInlineSource.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ProductInlineSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ProductInlineSource.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions