Class ListMerchantCenterAccountLinksResponse.Builder (2.45.0)

public static final class ListMerchantCenterAccountLinksResponse.Builder extends GeneratedMessageV3.Builder<ListMerchantCenterAccountLinksResponse.Builder> implements ListMerchantCenterAccountLinksResponseOrBuilder

Response for MerchantCenterAccountLinkService.ListMerchantCenterAccountLinks method.

Protobuf type google.cloud.retail.v2alpha.ListMerchantCenterAccountLinksResponse

Static Methods

getDescriptor()

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

Methods

public ListMerchantCenterAccountLinksResponse.Builder addAllMerchantCenterAccountLinks(Iterable<? extends MerchantCenterAccountLink> values)

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.retail.v2alpha.MerchantCenterAccountLink>
Returns
Type Description
ListMerchantCenterAccountLinksResponse.Builder
public ListMerchantCenterAccountLinksResponse.Builder addMerchantCenterAccountLinks(MerchantCenterAccountLink value)

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Parameter
Name Description
value MerchantCenterAccountLink
Returns
Type Description
ListMerchantCenterAccountLinksResponse.Builder
public ListMerchantCenterAccountLinksResponse.Builder addMerchantCenterAccountLinks(MerchantCenterAccountLink.Builder builderForValue)

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Parameter
Name Description
builderForValue MerchantCenterAccountLink.Builder
Returns
Type Description
ListMerchantCenterAccountLinksResponse.Builder
public ListMerchantCenterAccountLinksResponse.Builder addMerchantCenterAccountLinks(int index, MerchantCenterAccountLink value)

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Parameters
Name Description
index int
value MerchantCenterAccountLink
Returns
Type Description
ListMerchantCenterAccountLinksResponse.Builder
public ListMerchantCenterAccountLinksResponse.Builder addMerchantCenterAccountLinks(int index, MerchantCenterAccountLink.Builder builderForValue)

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Parameters
Name Description
index int
builderForValue MerchantCenterAccountLink.Builder
Returns
Type Description
ListMerchantCenterAccountLinksResponse.Builder

addMerchantCenterAccountLinksBuilder()

public MerchantCenterAccountLink.Builder addMerchantCenterAccountLinksBuilder()

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Returns
Type Description
MerchantCenterAccountLink.Builder

addMerchantCenterAccountLinksBuilder(int index)

public MerchantCenterAccountLink.Builder addMerchantCenterAccountLinksBuilder(int index)

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Parameter
Name Description
index int
Returns
Type Description
MerchantCenterAccountLink.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListMerchantCenterAccountLinksResponse build()
Returns
Type Description
ListMerchantCenterAccountLinksResponse

buildPartial()

public ListMerchantCenterAccountLinksResponse buildPartial()
Returns
Type Description
ListMerchantCenterAccountLinksResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Returns
Type Description
ListMerchantCenterAccountLinksResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListMerchantCenterAccountLinksResponse getDefaultInstanceForType()
Returns
Type Description
ListMerchantCenterAccountLinksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
public MerchantCenterAccountLink getMerchantCenterAccountLinks(int index)

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Parameter
Name Description
index int
Returns
Type Description
MerchantCenterAccountLink

getMerchantCenterAccountLinksBuilder(int index)

public MerchantCenterAccountLink.Builder getMerchantCenterAccountLinksBuilder(int index)

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Parameter
Name Description
index int
Returns
Type Description
MerchantCenterAccountLink.Builder

getMerchantCenterAccountLinksBuilderList()

public List<MerchantCenterAccountLink.Builder> getMerchantCenterAccountLinksBuilderList()

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Returns
Type Description
List<Builder>

getMerchantCenterAccountLinksCount()

public int getMerchantCenterAccountLinksCount()

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Returns
Type Description
int
public List<MerchantCenterAccountLink> getMerchantCenterAccountLinksList()

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Returns
Type Description
List<MerchantCenterAccountLink>

getMerchantCenterAccountLinksOrBuilder(int index)

public MerchantCenterAccountLinkOrBuilder getMerchantCenterAccountLinksOrBuilder(int index)

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Parameter
Name Description
index int
Returns
Type Description
MerchantCenterAccountLinkOrBuilder

getMerchantCenterAccountLinksOrBuilderList()

public List<? extends MerchantCenterAccountLinkOrBuilder> getMerchantCenterAccountLinksOrBuilderList()

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Returns
Type Description
List<? extends com.google.cloud.retail.v2alpha.MerchantCenterAccountLinkOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListMerchantCenterAccountLinksResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListMerchantCenterAccountLinksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListMerchantCenterAccountLinksResponse.Builder
Overrides
public ListMerchantCenterAccountLinksResponse.Builder removeMerchantCenterAccountLinks(int index)

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Parameter
Name Description
index int
Returns
Type Description
ListMerchantCenterAccountLinksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListMerchantCenterAccountLinksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListMerchantCenterAccountLinksResponse.Builder
Overrides
public ListMerchantCenterAccountLinksResponse.Builder setMerchantCenterAccountLinks(int index, MerchantCenterAccountLink value)

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Parameters
Name Description
index int
value MerchantCenterAccountLink
Returns
Type Description
ListMerchantCenterAccountLinksResponse.Builder
public ListMerchantCenterAccountLinksResponse.Builder setMerchantCenterAccountLinks(int index, MerchantCenterAccountLink.Builder builderForValue)

The links.

repeated .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_links = 1;

Parameters
Name Description
index int
builderForValue MerchantCenterAccountLink.Builder
Returns
Type Description
ListMerchantCenterAccountLinksResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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