Class ListMerchantCenterAccountLinksResponse.Builder (2.24.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
TypeDescription
Descriptor

Methods

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

The links.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.retail.v2alpha.MerchantCenterAccountLink>
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder
public ListMerchantCenterAccountLinksResponse.Builder addMerchantCenterAccountLinks(MerchantCenterAccountLink value)

The links.

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

Parameter
NameDescription
valueMerchantCenterAccountLink
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder
public ListMerchantCenterAccountLinksResponse.Builder addMerchantCenterAccountLinks(MerchantCenterAccountLink.Builder builderForValue)

The links.

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

Parameter
NameDescription
builderForValueMerchantCenterAccountLink.Builder
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder
public ListMerchantCenterAccountLinksResponse.Builder addMerchantCenterAccountLinks(int index, MerchantCenterAccountLink value)

The links.

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

Parameters
NameDescription
indexint
valueMerchantCenterAccountLink
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMerchantCenterAccountLink.Builder
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder

addMerchantCenterAccountLinksBuilder()

public MerchantCenterAccountLink.Builder addMerchantCenterAccountLinksBuilder()

The links.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MerchantCenterAccountLink.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListMerchantCenterAccountLinksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder
Overrides

build()

public ListMerchantCenterAccountLinksResponse build()
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse

buildPartial()

public ListMerchantCenterAccountLinksResponse buildPartial()
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse

clear()

public ListMerchantCenterAccountLinksResponse.Builder clear()
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListMerchantCenterAccountLinksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder
Overrides
public ListMerchantCenterAccountLinksResponse.Builder clearMerchantCenterAccountLinks()

The links.

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

Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ListMerchantCenterAccountLinksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder
Overrides

clone()

public ListMerchantCenterAccountLinksResponse.Builder clone()
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder
Overrides

getDefaultInstanceForType()

public ListMerchantCenterAccountLinksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse

getDescriptorForType()

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

The links.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MerchantCenterAccountLink

getMerchantCenterAccountLinksBuilder(int index)

public MerchantCenterAccountLink.Builder getMerchantCenterAccountLinksBuilder(int index)

The links.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MerchantCenterAccountLink.Builder

getMerchantCenterAccountLinksBuilderList()

public List<MerchantCenterAccountLink.Builder> getMerchantCenterAccountLinksBuilderList()

The links.

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

Returns
TypeDescription
List<Builder>

getMerchantCenterAccountLinksCount()

public int getMerchantCenterAccountLinksCount()

The links.

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

Returns
TypeDescription
int
public List<MerchantCenterAccountLink> getMerchantCenterAccountLinksList()

The links.

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

Returns
TypeDescription
List<MerchantCenterAccountLink>

getMerchantCenterAccountLinksOrBuilder(int index)

public MerchantCenterAccountLinkOrBuilder getMerchantCenterAccountLinksOrBuilder(int index)

The links.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MerchantCenterAccountLinkOrBuilder

getMerchantCenterAccountLinksOrBuilderList()

public List<? extends MerchantCenterAccountLinkOrBuilder> getMerchantCenterAccountLinksOrBuilderList()

The links.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListMerchantCenterAccountLinksResponse other)

public ListMerchantCenterAccountLinksResponse.Builder mergeFrom(ListMerchantCenterAccountLinksResponse other)
Parameter
NameDescription
otherListMerchantCenterAccountLinksResponse
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListMerchantCenterAccountLinksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListMerchantCenterAccountLinksResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListMerchantCenterAccountLinksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder
Overrides
public ListMerchantCenterAccountLinksResponse.Builder removeMerchantCenterAccountLinks(int index)

The links.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListMerchantCenterAccountLinksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueMerchantCenterAccountLink
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMerchantCenterAccountLink.Builder
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder

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

public ListMerchantCenterAccountLinksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListMerchantCenterAccountLinksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder
Overrides