public static final class Homepage.Builder extends GeneratedMessage.Builder<Homepage.Builder> implements HomepageOrBuilderA store's homepage.
Protobuf type google.shopping.merchant.accounts.v1beta.Homepage
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Homepage.BuilderImplements
HomepageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Homepage build()| Returns | |
|---|---|
| Type | Description |
Homepage |
|
buildPartial()
public Homepage buildPartial()| Returns | |
|---|---|
| Type | Description |
Homepage |
|
clear()
public Homepage.Builder clear()| Returns | |
|---|---|
| Type | Description |
Homepage.Builder |
|
clearClaimed()
public Homepage.Builder clearClaimed()Output only. Whether the homepage is claimed. See https://support.google.com/merchants/answer/176793.
bool claimed = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Homepage.Builder |
This builder for chaining. |
clearName()
public Homepage.Builder clearName() Identifier. The resource name of the store's homepage.
Format: accounts/{account}/homepage
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
Homepage.Builder |
This builder for chaining. |
clearUri()
public Homepage.Builder clearUri()Required. The URI (typically a URL) of the store's homepage.
optional string uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Homepage.Builder |
This builder for chaining. |
getClaimed()
public boolean getClaimed()Output only. Whether the homepage is claimed. See https://support.google.com/merchants/answer/176793.
bool claimed = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The claimed. |
getDefaultInstanceForType()
public Homepage getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Homepage |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Identifier. The resource name of the store's homepage.
Format: accounts/{account}/homepage
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The resource name of the store's homepage.
Format: accounts/{account}/homepage
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUri()
public String getUri()Required. The URI (typically a URL) of the store's homepage.
optional string uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()Required. The URI (typically a URL) of the store's homepage.
optional string uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
hasUri()
public boolean hasUri()Required. The URI (typically a URL) of the store's homepage.
optional string uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the uri field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Homepage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Homepage.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Homepage.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Homepage.Builder |
|
mergeFrom(Homepage other)
public Homepage.Builder mergeFrom(Homepage other)| Parameter | |
|---|---|
| Name | Description |
other |
Homepage |
| Returns | |
|---|---|
| Type | Description |
Homepage.Builder |
|
setClaimed(boolean value)
public Homepage.Builder setClaimed(boolean value)Output only. Whether the homepage is claimed. See https://support.google.com/merchants/answer/176793.
bool claimed = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe claimed to set. |
| Returns | |
|---|---|
| Type | Description |
Homepage.Builder |
This builder for chaining. |
setName(String value)
public Homepage.Builder setName(String value) Identifier. The resource name of the store's homepage.
Format: accounts/{account}/homepage
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Homepage.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Homepage.Builder setNameBytes(ByteString value) Identifier. The resource name of the store's homepage.
Format: accounts/{account}/homepage
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Homepage.Builder |
This builder for chaining. |
setUri(String value)
public Homepage.Builder setUri(String value)Required. The URI (typically a URL) of the store's homepage.
optional string uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
Homepage.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public Homepage.Builder setUriBytes(ByteString value)Required. The URI (typically a URL) of the store's homepage.
optional string uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
Homepage.Builder |
This builder for chaining. |