public static final class CreateMerchantCenterAccountLinkRequest.Builder extends GeneratedMessage.Builder<CreateMerchantCenterAccountLinkRequest.Builder> implements CreateMerchantCenterAccountLinkRequestOrBuilderRequest for MerchantCenterAccountLinkService.CreateMerchantCenterAccountLink method.
Protobuf type google.cloud.retail.v2alpha.CreateMerchantCenterAccountLinkRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateMerchantCenterAccountLinkRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateMerchantCenterAccountLinkRequest build()| Returns | |
|---|---|
| Type | Description |
CreateMerchantCenterAccountLinkRequest |
|
buildPartial()
public CreateMerchantCenterAccountLinkRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateMerchantCenterAccountLinkRequest |
|
clear()
public CreateMerchantCenterAccountLinkRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateMerchantCenterAccountLinkRequest.Builder |
|
clearMerchantCenterAccountLink()
public CreateMerchantCenterAccountLinkRequest.Builder clearMerchantCenterAccountLink()Required. The MerchantCenterAccountLink to create.
If the caller does not have permission to create the MerchantCenterAccountLink, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
.google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateMerchantCenterAccountLinkRequest.Builder |
|
clearParent()
public CreateMerchantCenterAccountLinkRequest.Builder clearParent() Required. The branch resource where this MerchantCenterAccountLink will be
created. Format:
projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateMerchantCenterAccountLinkRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateMerchantCenterAccountLinkRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateMerchantCenterAccountLinkRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMerchantCenterAccountLink()
public MerchantCenterAccountLink getMerchantCenterAccountLink()Required. The MerchantCenterAccountLink to create.
If the caller does not have permission to create the MerchantCenterAccountLink, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
.google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MerchantCenterAccountLink |
The merchantCenterAccountLink. |
getMerchantCenterAccountLinkBuilder()
public MerchantCenterAccountLink.Builder getMerchantCenterAccountLinkBuilder()Required. The MerchantCenterAccountLink to create.
If the caller does not have permission to create the MerchantCenterAccountLink, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
.google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MerchantCenterAccountLink.Builder |
|
getMerchantCenterAccountLinkOrBuilder()
public MerchantCenterAccountLinkOrBuilder getMerchantCenterAccountLinkOrBuilder()Required. The MerchantCenterAccountLink to create.
If the caller does not have permission to create the MerchantCenterAccountLink, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
.google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MerchantCenterAccountLinkOrBuilder |
|
getParent()
public String getParent() Required. The branch resource where this MerchantCenterAccountLink will be
created. Format:
projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The branch resource where this MerchantCenterAccountLink will be
created. Format:
projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasMerchantCenterAccountLink()
public boolean hasMerchantCenterAccountLink()Required. The MerchantCenterAccountLink to create.
If the caller does not have permission to create the MerchantCenterAccountLink, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
.google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the merchantCenterAccountLink field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateMerchantCenterAccountLinkRequest other)
public CreateMerchantCenterAccountLinkRequest.Builder mergeFrom(CreateMerchantCenterAccountLinkRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateMerchantCenterAccountLinkRequest |
| Returns | |
|---|---|
| Type | Description |
CreateMerchantCenterAccountLinkRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateMerchantCenterAccountLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateMerchantCenterAccountLinkRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateMerchantCenterAccountLinkRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateMerchantCenterAccountLinkRequest.Builder |
|
mergeMerchantCenterAccountLink(MerchantCenterAccountLink value)
public CreateMerchantCenterAccountLinkRequest.Builder mergeMerchantCenterAccountLink(MerchantCenterAccountLink value)Required. The MerchantCenterAccountLink to create.
If the caller does not have permission to create the MerchantCenterAccountLink, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
.google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
MerchantCenterAccountLink |
| Returns | |
|---|---|
| Type | Description |
CreateMerchantCenterAccountLinkRequest.Builder |
|
setMerchantCenterAccountLink(MerchantCenterAccountLink value)
public CreateMerchantCenterAccountLinkRequest.Builder setMerchantCenterAccountLink(MerchantCenterAccountLink value)Required. The MerchantCenterAccountLink to create.
If the caller does not have permission to create the MerchantCenterAccountLink, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
.google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
MerchantCenterAccountLink |
| Returns | |
|---|---|
| Type | Description |
CreateMerchantCenterAccountLinkRequest.Builder |
|
setMerchantCenterAccountLink(MerchantCenterAccountLink.Builder builderForValue)
public CreateMerchantCenterAccountLinkRequest.Builder setMerchantCenterAccountLink(MerchantCenterAccountLink.Builder builderForValue)Required. The MerchantCenterAccountLink to create.
If the caller does not have permission to create the MerchantCenterAccountLink, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
.google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MerchantCenterAccountLink.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateMerchantCenterAccountLinkRequest.Builder |
|
setParent(String value)
public CreateMerchantCenterAccountLinkRequest.Builder setParent(String value) Required. The branch resource where this MerchantCenterAccountLink will be
created. Format:
projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMerchantCenterAccountLinkRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateMerchantCenterAccountLinkRequest.Builder setParentBytes(ByteString value) Required. The branch resource where this MerchantCenterAccountLink will be
created. Format:
projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMerchantCenterAccountLinkRequest.Builder |
This builder for chaining. |