public final class LocalInventoryDataSource extends GeneratedMessageV3 implements LocalInventoryDataSourceOrBuilder
The local inventory data source.
Protobuf type google.shopping.merchant.datasources.v1beta.LocalInventoryDataSource
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > LocalInventoryDataSourceImplements
LocalInventoryDataSourceOrBuilderStatic Fields
CONTENT_LANGUAGE_FIELD_NUMBER
public static final int CONTENT_LANGUAGE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
FEED_LABEL_FIELD_NUMBER
public static final int FEED_LABEL_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static LocalInventoryDataSource getDefaultInstance()
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static LocalInventoryDataSource.Builder newBuilder()
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource.Builder |
newBuilder(LocalInventoryDataSource prototype)
public static LocalInventoryDataSource.Builder newBuilder(LocalInventoryDataSource prototype)
Parameter | |
---|---|
Name | Description |
prototype |
LocalInventoryDataSource |
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource.Builder |
parseDelimitedFrom(InputStream input)
public static LocalInventoryDataSource parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LocalInventoryDataSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static LocalInventoryDataSource parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LocalInventoryDataSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static LocalInventoryDataSource parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LocalInventoryDataSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static LocalInventoryDataSource parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LocalInventoryDataSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static LocalInventoryDataSource parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LocalInventoryDataSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static LocalInventoryDataSource parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LocalInventoryDataSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<LocalInventoryDataSource> parser()
Returns | |
---|---|
Type | Description |
Parser<LocalInventoryDataSource> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getContentLanguage()
public String getContentLanguage()
Required. Immutable. The two-letter ISO 639-1 language of the items to which the local inventory is provided.
string content_language = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
String |
The contentLanguage. |
getContentLanguageBytes()
public ByteString getContentLanguageBytes()
Required. Immutable. The two-letter ISO 639-1 language of the items to which the local inventory is provided.
string content_language = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for contentLanguage. |
getDefaultInstanceForType()
public LocalInventoryDataSource getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource |
getFeedLabel()
public String getFeedLabel()
Required. Immutable. The feed label of the offers to which the local inventory is provided.
Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).
See also migration to feed labels.
string feed_label = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
String |
The feedLabel. |
getFeedLabelBytes()
public ByteString getFeedLabelBytes()
Required. Immutable. The feed label of the offers to which the local inventory is provided.
Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).
See also migration to feed labels.
string feed_label = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for feedLabel. |
getParserForType()
public Parser<LocalInventoryDataSource> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<LocalInventoryDataSource> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public LocalInventoryDataSource.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LocalInventoryDataSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public LocalInventoryDataSource.Builder toBuilder()
Returns | |
---|---|
Type | Description |
LocalInventoryDataSource.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |