Class ListMerchantCenterAccountLinksResponse (2.37.0)

public final class ListMerchantCenterAccountLinksResponse extends GeneratedMessageV3 implements ListMerchantCenterAccountLinksResponseOrBuilder

Response for MerchantCenterAccountLinkService.ListMerchantCenterAccountLinks method.

Protobuf type google.cloud.retail.v2alpha.ListMerchantCenterAccountLinksResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListMerchantCenterAccountLinksResponse

Static Fields

public static final int MERCHANT_CENTER_ACCOUNT_LINKS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListMerchantCenterAccountLinksResponse getDefaultInstance()
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListMerchantCenterAccountLinksResponse.Builder newBuilder()
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder

newBuilder(ListMerchantCenterAccountLinksResponse prototype)

public static ListMerchantCenterAccountLinksResponse.Builder newBuilder(ListMerchantCenterAccountLinksResponse prototype)
Parameter
NameDescription
prototypeListMerchantCenterAccountLinksResponse
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListMerchantCenterAccountLinksResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListMerchantCenterAccountLinksResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListMerchantCenterAccountLinksResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListMerchantCenterAccountLinksResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListMerchantCenterAccountLinksResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListMerchantCenterAccountLinksResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListMerchantCenterAccountLinksResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListMerchantCenterAccountLinksResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListMerchantCenterAccountLinksResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListMerchantCenterAccountLinksResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListMerchantCenterAccountLinksResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListMerchantCenterAccountLinksResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListMerchantCenterAccountLinksResponse> parser()
Returns
TypeDescription
Parser<ListMerchantCenterAccountLinksResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListMerchantCenterAccountLinksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse
public MerchantCenterAccountLink getMerchantCenterAccountLinks(int index)

The links.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MerchantCenterAccountLink

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>

getParserForType()

public Parser<ListMerchantCenterAccountLinksResponse> getParserForType()
Returns
TypeDescription
Parser<ListMerchantCenterAccountLinksResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListMerchantCenterAccountLinksResponse.Builder newBuilderForType()
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListMerchantCenterAccountLinksResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListMerchantCenterAccountLinksResponse.Builder toBuilder()
Returns
TypeDescription
ListMerchantCenterAccountLinksResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException