public static final class CreateAccountLabelRequest.Builder extends GeneratedMessage.Builder<CreateAccountLabelRequest.Builder> implements CreateAccountLabelRequestOrBuilderRequest message for the 'CreateAccountLanel' method.
Protobuf type google.shopping.css.v1.CreateAccountLabelRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateAccountLabelRequest.BuilderImplements
CreateAccountLabelRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateAccountLabelRequest build()| Returns | |
|---|---|
| Type | Description |
CreateAccountLabelRequest |
|
buildPartial()
public CreateAccountLabelRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateAccountLabelRequest |
|
clear()
public CreateAccountLabelRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateAccountLabelRequest.Builder |
|
clearAccountLabel()
public CreateAccountLabelRequest.Builder clearAccountLabel()Required. The label to create.
.google.shopping.css.v1.AccountLabel account_label = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateAccountLabelRequest.Builder |
|
clearParent()
public CreateAccountLabelRequest.Builder clearParent()Required. The parent account. Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateAccountLabelRequest.Builder |
This builder for chaining. |
getAccountLabel()
public AccountLabel getAccountLabel()Required. The label to create.
.google.shopping.css.v1.AccountLabel account_label = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AccountLabel |
The accountLabel. |
getAccountLabelBuilder()
public AccountLabel.Builder getAccountLabelBuilder()Required. The label to create.
.google.shopping.css.v1.AccountLabel account_label = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AccountLabel.Builder |
|
getAccountLabelOrBuilder()
public AccountLabelOrBuilder getAccountLabelOrBuilder()Required. The label to create.
.google.shopping.css.v1.AccountLabel account_label = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AccountLabelOrBuilder |
|
getDefaultInstanceForType()
public CreateAccountLabelRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateAccountLabelRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. The parent account. 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 parent account. Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasAccountLabel()
public boolean hasAccountLabel()Required. The label to create.
.google.shopping.css.v1.AccountLabel account_label = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the accountLabel field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAccountLabel(AccountLabel value)
public CreateAccountLabelRequest.Builder mergeAccountLabel(AccountLabel value)Required. The label to create.
.google.shopping.css.v1.AccountLabel account_label = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AccountLabel |
| Returns | |
|---|---|
| Type | Description |
CreateAccountLabelRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateAccountLabelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateAccountLabelRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateAccountLabelRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateAccountLabelRequest.Builder |
|
mergeFrom(CreateAccountLabelRequest other)
public CreateAccountLabelRequest.Builder mergeFrom(CreateAccountLabelRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateAccountLabelRequest |
| Returns | |
|---|---|
| Type | Description |
CreateAccountLabelRequest.Builder |
|
setAccountLabel(AccountLabel value)
public CreateAccountLabelRequest.Builder setAccountLabel(AccountLabel value)Required. The label to create.
.google.shopping.css.v1.AccountLabel account_label = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AccountLabel |
| Returns | |
|---|---|
| Type | Description |
CreateAccountLabelRequest.Builder |
|
setAccountLabel(AccountLabel.Builder builderForValue)
public CreateAccountLabelRequest.Builder setAccountLabel(AccountLabel.Builder builderForValue)Required. The label to create.
.google.shopping.css.v1.AccountLabel account_label = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AccountLabel.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateAccountLabelRequest.Builder |
|
setParent(String value)
public CreateAccountLabelRequest.Builder setParent(String value)Required. The parent account. 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 |
CreateAccountLabelRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateAccountLabelRequest.Builder setParentBytes(ByteString value)Required. The parent account. 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 |
CreateAccountLabelRequest.Builder |
This builder for chaining. |