Send feedback
Class InStock (1.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class InStock extends GeneratedMessageV3 implements InStockOrBuilder
Collection of information related to InStock.
Protobuf type google.shopping.merchant.accounts.v1beta.InStock
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 STATE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int URI_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static InStock getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static InStock . Builder newBuilder ()
public static InStock . Builder newBuilder ( InStock prototype )
Parameter
Name
Description
prototype
InStock
public static InStock parseDelimitedFrom ( InputStream input )
public static InStock parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static InStock parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static InStock parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static InStock parseFrom ( ByteString data )
public static InStock parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static InStock parseFrom ( CodedInputStream input )
public static InStock parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static InStock parseFrom ( InputStream input )
public static InStock parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static InStock parseFrom ( ByteBuffer data )
public static InStock parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<InStock> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public InStock getDefaultInstanceForType ()
public Parser<InStock> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public ReviewState . State getState ()
Output only. The state of the in-stock serving.
.google.shopping.merchant.accounts.v1beta.ReviewState.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getStateValue ()
Output only. The state of the in-stock serving.
.google.shopping.merchant.accounts.v1beta.ReviewState.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
The enum numeric value on the wire for state.
Optional. Product landing page URI. It is only used for the review of MHLSF
in-stock serving. This URI domain should match with the business's
homepage. Required to be empty if the lsf_type is GHLSF, and required when
the lsf_type is MHLSF_FULL or MHLSF_BASIC.
string uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The uri.
public ByteString getUriBytes ()
Optional. Product landing page URI. It is only used for the review of MHLSF
in-stock serving. This URI domain should match with the business's
homepage. Required to be empty if the lsf_type is GHLSF, and required when
the lsf_type is MHLSF_FULL or MHLSF_BASIC.
string uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for uri.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public InStock . Builder newBuilderForType ()
protected InStock . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public InStock . 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-10-11 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-10-11 UTC."],[],[]]