public static final class RegionalInventoryDataSource.Builder extends GeneratedMessage.Builder<RegionalInventoryDataSource.Builder> implements RegionalInventoryDataSourceOrBuilderThe regional inventory data source.
Protobuf type google.shopping.merchant.datasources.v1beta.RegionalInventoryDataSource
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RegionalInventoryDataSource.BuilderImplements
RegionalInventoryDataSourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RegionalInventoryDataSource build()| Returns | |
|---|---|
| Type | Description |
RegionalInventoryDataSource |
|
buildPartial()
public RegionalInventoryDataSource buildPartial()| Returns | |
|---|---|
| Type | Description |
RegionalInventoryDataSource |
|
clear()
public RegionalInventoryDataSource.Builder clear()| Returns | |
|---|---|
| Type | Description |
RegionalInventoryDataSource.Builder |
|
clearContentLanguage()
public RegionalInventoryDataSource.Builder clearContentLanguage()Required. Immutable. The two-letter ISO 639-1 language of the items to which the regional inventory is provided.
string content_language = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryDataSource.Builder |
This builder for chaining. |
clearFeedLabel()
public RegionalInventoryDataSource.Builder clearFeedLabel()Required. Immutable. The feed label of the offers to which the regional 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 |
RegionalInventoryDataSource.Builder |
This builder for chaining. |
getContentLanguage()
public String getContentLanguage()Required. Immutable. The two-letter ISO 639-1 language of the items to which the regional 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 regional 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 RegionalInventoryDataSource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RegionalInventoryDataSource |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFeedLabel()
public String getFeedLabel()Required. Immutable. The feed label of the offers to which the regional 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 regional 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RegionalInventoryDataSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryDataSource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RegionalInventoryDataSource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryDataSource.Builder |
|
mergeFrom(RegionalInventoryDataSource other)
public RegionalInventoryDataSource.Builder mergeFrom(RegionalInventoryDataSource other)| Parameter | |
|---|---|
| Name | Description |
other |
RegionalInventoryDataSource |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryDataSource.Builder |
|
setContentLanguage(String value)
public RegionalInventoryDataSource.Builder setContentLanguage(String value)Required. Immutable. The two-letter ISO 639-1 language of the items to which the regional inventory is provided.
string content_language = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe contentLanguage to set. |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryDataSource.Builder |
This builder for chaining. |
setContentLanguageBytes(ByteString value)
public RegionalInventoryDataSource.Builder setContentLanguageBytes(ByteString value)Required. Immutable. The two-letter ISO 639-1 language of the items to which the regional inventory is provided.
string content_language = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for contentLanguage to set. |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryDataSource.Builder |
This builder for chaining. |
setFeedLabel(String value)
public RegionalInventoryDataSource.Builder setFeedLabel(String value)Required. Immutable. The feed label of the offers to which the regional 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe feedLabel to set. |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryDataSource.Builder |
This builder for chaining. |
setFeedLabelBytes(ByteString value)
public RegionalInventoryDataSource.Builder setFeedLabelBytes(ByteString value)Required. Immutable. The feed label of the offers to which the regional 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for feedLabel to set. |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryDataSource.Builder |
This builder for chaining. |