Class ListOmnichannelSettingsResponse.Builder (0.20.0)

public static final class ListOmnichannelSettingsResponse.Builder extends GeneratedMessageV3.Builder<ListOmnichannelSettingsResponse.Builder> implements ListOmnichannelSettingsResponseOrBuilder

Response message for the ListOmnichannelSettings method.

Protobuf type google.shopping.merchant.accounts.v1beta.ListOmnichannelSettingsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllOmnichannelSettings(Iterable<? extends OmnichannelSetting> values)

public ListOmnichannelSettingsResponse.Builder addAllOmnichannelSettings(Iterable<? extends OmnichannelSetting> values)

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.accounts.v1beta.OmnichannelSetting>
Returns
Type Description
ListOmnichannelSettingsResponse.Builder

addOmnichannelSettings(OmnichannelSetting value)

public ListOmnichannelSettingsResponse.Builder addOmnichannelSettings(OmnichannelSetting value)

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Parameter
Name Description
value OmnichannelSetting
Returns
Type Description
ListOmnichannelSettingsResponse.Builder

addOmnichannelSettings(OmnichannelSetting.Builder builderForValue)

public ListOmnichannelSettingsResponse.Builder addOmnichannelSettings(OmnichannelSetting.Builder builderForValue)

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Parameter
Name Description
builderForValue OmnichannelSetting.Builder
Returns
Type Description
ListOmnichannelSettingsResponse.Builder

addOmnichannelSettings(int index, OmnichannelSetting value)

public ListOmnichannelSettingsResponse.Builder addOmnichannelSettings(int index, OmnichannelSetting value)

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Parameters
Name Description
index int
value OmnichannelSetting
Returns
Type Description
ListOmnichannelSettingsResponse.Builder

addOmnichannelSettings(int index, OmnichannelSetting.Builder builderForValue)

public ListOmnichannelSettingsResponse.Builder addOmnichannelSettings(int index, OmnichannelSetting.Builder builderForValue)

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Parameters
Name Description
index int
builderForValue OmnichannelSetting.Builder
Returns
Type Description
ListOmnichannelSettingsResponse.Builder

addOmnichannelSettingsBuilder()

public OmnichannelSetting.Builder addOmnichannelSettingsBuilder()

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Returns
Type Description
OmnichannelSetting.Builder

addOmnichannelSettingsBuilder(int index)

public OmnichannelSetting.Builder addOmnichannelSettingsBuilder(int index)

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Parameter
Name Description
index int
Returns
Type Description
OmnichannelSetting.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListOmnichannelSettingsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListOmnichannelSettingsResponse.Builder
Overrides

build()

public ListOmnichannelSettingsResponse build()
Returns
Type Description
ListOmnichannelSettingsResponse

buildPartial()

public ListOmnichannelSettingsResponse buildPartial()
Returns
Type Description
ListOmnichannelSettingsResponse

clear()

public ListOmnichannelSettingsResponse.Builder clear()
Returns
Type Description
ListOmnichannelSettingsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListOmnichannelSettingsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListOmnichannelSettingsResponse.Builder
Overrides

clearNextPageToken()

public ListOmnichannelSettingsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListOmnichannelSettingsResponse.Builder

This builder for chaining.

clearOmnichannelSettings()

public ListOmnichannelSettingsResponse.Builder clearOmnichannelSettings()

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Returns
Type Description
ListOmnichannelSettingsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ListOmnichannelSettingsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListOmnichannelSettingsResponse.Builder
Overrides

clone()

public ListOmnichannelSettingsResponse.Builder clone()
Returns
Type Description
ListOmnichannelSettingsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListOmnichannelSettingsResponse getDefaultInstanceForType()
Returns
Type Description
ListOmnichannelSettingsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getOmnichannelSettings(int index)

public OmnichannelSetting getOmnichannelSettings(int index)

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Parameter
Name Description
index int
Returns
Type Description
OmnichannelSetting

getOmnichannelSettingsBuilder(int index)

public OmnichannelSetting.Builder getOmnichannelSettingsBuilder(int index)

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Parameter
Name Description
index int
Returns
Type Description
OmnichannelSetting.Builder

getOmnichannelSettingsBuilderList()

public List<OmnichannelSetting.Builder> getOmnichannelSettingsBuilderList()

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Returns
Type Description
List<Builder>

getOmnichannelSettingsCount()

public int getOmnichannelSettingsCount()

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Returns
Type Description
int

getOmnichannelSettingsList()

public List<OmnichannelSetting> getOmnichannelSettingsList()

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Returns
Type Description
List<OmnichannelSetting>

getOmnichannelSettingsOrBuilder(int index)

public OmnichannelSettingOrBuilder getOmnichannelSettingsOrBuilder(int index)

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Parameter
Name Description
index int
Returns
Type Description
OmnichannelSettingOrBuilder

getOmnichannelSettingsOrBuilderList()

public List<? extends OmnichannelSettingOrBuilder> getOmnichannelSettingsOrBuilderList()

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Returns
Type Description
List<? extends com.google.shopping.merchant.accounts.v1beta.OmnichannelSettingOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListOmnichannelSettingsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListOmnichannelSettingsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListOmnichannelSettingsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListOmnichannelSettingsResponse.Builder
Overrides

mergeFrom(ListOmnichannelSettingsResponse other)

public ListOmnichannelSettingsResponse.Builder mergeFrom(ListOmnichannelSettingsResponse other)
Parameter
Name Description
other ListOmnichannelSettingsResponse
Returns
Type Description
ListOmnichannelSettingsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListOmnichannelSettingsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListOmnichannelSettingsResponse.Builder
Overrides

removeOmnichannelSettings(int index)

public ListOmnichannelSettingsResponse.Builder removeOmnichannelSettings(int index)

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Parameter
Name Description
index int
Returns
Type Description
ListOmnichannelSettingsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListOmnichannelSettingsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListOmnichannelSettingsResponse.Builder
Overrides

setNextPageToken(String value)

public ListOmnichannelSettingsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListOmnichannelSettingsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListOmnichannelSettingsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListOmnichannelSettingsResponse.Builder

This builder for chaining.

setOmnichannelSettings(int index, OmnichannelSetting value)

public ListOmnichannelSettingsResponse.Builder setOmnichannelSettings(int index, OmnichannelSetting value)

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Parameters
Name Description
index int
value OmnichannelSetting
Returns
Type Description
ListOmnichannelSettingsResponse.Builder

setOmnichannelSettings(int index, OmnichannelSetting.Builder builderForValue)

public ListOmnichannelSettingsResponse.Builder setOmnichannelSettings(int index, OmnichannelSetting.Builder builderForValue)

The omnichannel settings from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.OmnichannelSetting omnichannel_settings = 1;

Parameters
Name Description
index int
builderForValue OmnichannelSetting.Builder
Returns
Type Description
ListOmnichannelSettingsResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListOmnichannelSettingsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListOmnichannelSettingsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListOmnichannelSettingsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListOmnichannelSettingsResponse.Builder
Overrides