Package com.google.cloud.retail.v2alpha
Interface PinControlMetadata.ProductPinsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PinControlMetadata.ProductPins,PinControlMetadata.ProductPins.Builder
- Enclosing class:
- PinControlMetadata
public static interface PinControlMetadata.ProductPinsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetProductId(int index) List of product ids which have associated pins.com.google.protobuf.ByteStringgetProductIdBytes(int index) List of product ids which have associated pins.intList of product ids which have associated pins.List of product ids which have associated pins.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getProductIdList
List of product ids which have associated pins.
repeated string product_id = 1;- Returns:
- A list containing the productId.
-
getProductIdCount
int getProductIdCount()List of product ids which have associated pins.
repeated string product_id = 1;- Returns:
- The count of productId.
-
getProductId
List of product ids which have associated pins.
repeated string product_id = 1;- Parameters:
index- The index of the element to return.- Returns:
- The productId at the given index.
-
getProductIdBytes
com.google.protobuf.ByteString getProductIdBytes(int index) List of product ids which have associated pins.
repeated string product_id = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the productId at the given index.
-