Class ListMerchantCenterAccountLinksRequest.Builder (2.23.0)

public static final class ListMerchantCenterAccountLinksRequest.Builder extends GeneratedMessageV3.Builder<ListMerchantCenterAccountLinksRequest.Builder> implements ListMerchantCenterAccountLinksRequestOrBuilder

Request for MerchantCenterAccountLinkService.ListMerchantCenterAccountLinks method.

Protobuf type google.cloud.retail.v2alpha.ListMerchantCenterAccountLinksRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListMerchantCenterAccountLinksRequest build()
Returns
TypeDescription
ListMerchantCenterAccountLinksRequest

buildPartial()

public ListMerchantCenterAccountLinksRequest buildPartial()
Returns
TypeDescription
ListMerchantCenterAccountLinksRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public ListMerchantCenterAccountLinksRequest.Builder clearParent()

Required. The parent Catalog of the resource. It must match this format: projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ListMerchantCenterAccountLinksRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListMerchantCenterAccountLinksRequest getDefaultInstanceForType()
Returns
TypeDescription
ListMerchantCenterAccountLinksRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The parent Catalog of the resource. It must match this format: projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent Catalog of the resource. It must match this format: projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListMerchantCenterAccountLinksRequest other)

public ListMerchantCenterAccountLinksRequest.Builder mergeFrom(ListMerchantCenterAccountLinksRequest other)
Parameter
NameDescription
otherListMerchantCenterAccountLinksRequest
Returns
TypeDescription
ListMerchantCenterAccountLinksRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListMerchantCenterAccountLinksRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListMerchantCenterAccountLinksRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public ListMerchantCenterAccountLinksRequest.Builder setParent(String value)

Required. The parent Catalog of the resource. It must match this format: projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListMerchantCenterAccountLinksRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListMerchantCenterAccountLinksRequest.Builder setParentBytes(ByteString value)

Required. The parent Catalog of the resource. It must match this format: projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListMerchantCenterAccountLinksRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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