public static final class LinkGbpAccountRequest.Builder extends GeneratedMessage.Builder<LinkGbpAccountRequest.Builder> implements LinkGbpAccountRequestOrBuilderRequest message for the LinkGbpAccount method.
Protobuf type google.shopping.merchant.accounts.v1beta.LinkGbpAccountRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > LinkGbpAccountRequest.BuilderImplements
LinkGbpAccountRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public LinkGbpAccountRequest build()| Returns | |
|---|---|
| Type | Description |
LinkGbpAccountRequest |
|
buildPartial()
public LinkGbpAccountRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
LinkGbpAccountRequest |
|
clear()
public LinkGbpAccountRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
LinkGbpAccountRequest.Builder |
|
clearGbpEmail()
public LinkGbpAccountRequest.Builder clearGbpEmail()Required. The email address of the Business Profile account.
string gbp_email = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LinkGbpAccountRequest.Builder |
This builder for chaining. |
clearParent()
public LinkGbpAccountRequest.Builder clearParent() Required. The name of the parent resource to which the GBP account is
linked. Format: accounts/{account}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
LinkGbpAccountRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public LinkGbpAccountRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LinkGbpAccountRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGbpEmail()
public String getGbpEmail()Required. The email address of the Business Profile account.
string gbp_email = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The gbpEmail. |
getGbpEmailBytes()
public ByteString getGbpEmailBytes()Required. The email address of the Business Profile account.
string gbp_email = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gbpEmail. |
getParent()
public String getParent() Required. The name of the parent resource to which the GBP account is
linked. Format: accounts/{account}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The name of the parent resource to which the GBP account is
linked. Format: accounts/{account}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LinkGbpAccountRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LinkGbpAccountRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LinkGbpAccountRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LinkGbpAccountRequest.Builder |
|
mergeFrom(LinkGbpAccountRequest other)
public LinkGbpAccountRequest.Builder mergeFrom(LinkGbpAccountRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
LinkGbpAccountRequest |
| Returns | |
|---|---|
| Type | Description |
LinkGbpAccountRequest.Builder |
|
setGbpEmail(String value)
public LinkGbpAccountRequest.Builder setGbpEmail(String value)Required. The email address of the Business Profile account.
string gbp_email = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gbpEmail to set. |
| Returns | |
|---|---|
| Type | Description |
LinkGbpAccountRequest.Builder |
This builder for chaining. |
setGbpEmailBytes(ByteString value)
public LinkGbpAccountRequest.Builder setGbpEmailBytes(ByteString value)Required. The email address of the Business Profile account.
string gbp_email = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gbpEmail to set. |
| Returns | |
|---|---|
| Type | Description |
LinkGbpAccountRequest.Builder |
This builder for chaining. |
setParent(String value)
public LinkGbpAccountRequest.Builder setParent(String value) Required. The name of the parent resource to which the GBP account is
linked. Format: accounts/{account}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
LinkGbpAccountRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public LinkGbpAccountRequest.Builder setParentBytes(ByteString value) Required. The name of the parent resource to which the GBP account is
linked. Format: accounts/{account}.
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 |
LinkGbpAccountRequest.Builder |
This builder for chaining. |