Send feedback
Class PinControlMetadata.ProductPins (2.64.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class PinControlMetadata . ProductPins extends GeneratedMessageV3 implements PinControlMetadata . ProductPinsOrBuilder
List of product ids which have associated pins.
Protobuf type google.cloud.retail.v2alpha.PinControlMetadata.ProductPins
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int PRODUCT_ID_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static PinControlMetadata . ProductPins getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static PinControlMetadata . ProductPins . Builder newBuilder ()
public static PinControlMetadata . ProductPins . Builder newBuilder ( PinControlMetadata . ProductPins prototype )
public static PinControlMetadata . ProductPins parseDelimitedFrom ( InputStream input )
public static PinControlMetadata . ProductPins parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static PinControlMetadata . ProductPins parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static PinControlMetadata . ProductPins parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static PinControlMetadata . ProductPins parseFrom ( ByteString data )
public static PinControlMetadata . ProductPins parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static PinControlMetadata . ProductPins parseFrom ( CodedInputStream input )
public static PinControlMetadata . ProductPins parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static PinControlMetadata . ProductPins parseFrom ( InputStream input )
public static PinControlMetadata . ProductPins parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static PinControlMetadata . ProductPins parseFrom ( ByteBuffer data )
public static PinControlMetadata . ProductPins parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<PinControlMetadata . ProductPins > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public PinControlMetadata . ProductPins getDefaultInstanceForType ()
public Parser<PinControlMetadata . ProductPins > getParserForType ()
Overrides
public String getProductId ( int index )
List of product ids which have associated pins.
repeated string product_id = 1;
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The productId at the given index.
public ByteString getProductIdBytes ( int index )
List of product ids which have associated pins.
repeated string product_id = 1;
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the productId at the given index.
public int getProductIdCount ()
List of product ids which have associated pins.
repeated string product_id = 1;
Returns
Type
Description
int
The count of productId.
public ProtocolStringList getProductIdList ()
List of product ids which have associated pins.
repeated string product_id = 1;
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public PinControlMetadata . ProductPins . Builder newBuilderForType ()
protected PinControlMetadata . ProductPins . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public PinControlMetadata . ProductPins . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[]]