public static final class CreateMerchantCenterAccountLinkRequest.Builder extends GeneratedMessageV3.Builder<CreateMerchantCenterAccountLinkRequest.Builder> implements CreateMerchantCenterAccountLinkRequestOrBuilder
Request for
MerchantCenterAccountLinkService.CreateMerchantCenterAccountLink
method.
Protobuf type google.cloud.retail.v2alpha.CreateMerchantCenterAccountLinkRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateMerchantCenterAccountLinkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateMerchantCenterAccountLinkRequest build()
buildPartial()
public CreateMerchantCenterAccountLinkRequest buildPartial()
clear()
public CreateMerchantCenterAccountLinkRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateMerchantCenterAccountLinkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateMerchantCenterAccountLinkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
clone()
public CreateMerchantCenterAccountLinkRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateMerchantCenterAccountLinkRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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];
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];
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateMerchantCenterAccountLinkRequest other)
public CreateMerchantCenterAccountLinkRequest.Builder mergeFrom(CreateMerchantCenterAccountLinkRequest other)
public CreateMerchantCenterAccountLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateMerchantCenterAccountLinkRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateMerchantCenterAccountLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateMerchantCenterAccountLinkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
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 | String
The parent to set.
|
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 | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateMerchantCenterAccountLinkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateMerchantCenterAccountLinkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides