public static final class LfpLink.Builder extends GeneratedMessageV3.Builder<LfpLink.Builder> implements LfpLinkOrBuilder
Collection of information related to the LFP link.
Protobuf type google.shopping.merchant.accounts.v1beta.LfpLink
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LfpLink.BuilderImplements
LfpLinkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LfpLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
build()
public LfpLink build()
Returns | |
---|---|
Type | Description |
LfpLink |
buildPartial()
public LfpLink buildPartial()
Returns | |
---|---|
Type | Description |
LfpLink |
clear()
public LfpLink.Builder clear()
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
clearExternalAccountId()
public LfpLink.Builder clearExternalAccountId()
Required. The account ID by which this merchant is known to the LFP provider.
string external_account_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public LfpLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
clearLfpProvider()
public LfpLink.Builder clearLfpProvider()
Required. The resource name of the LFP provider.
Format: lfpProviders/{lfp_provider}
string lfp_provider = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LfpLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
clearState()
public LfpLink.Builder clearState()
Output only. The state of the LFP link.
.google.shopping.merchant.accounts.v1beta.ReviewState.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
This builder for chaining. |
clone()
public LfpLink.Builder clone()
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
getDefaultInstanceForType()
public LfpLink getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LfpLink |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExternalAccountId()
public String getExternalAccountId()
Required. The account ID by which this merchant is known to the LFP provider.
string external_account_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The externalAccountId. |
getExternalAccountIdBytes()
public ByteString getExternalAccountIdBytes()
Required. The account ID by which this merchant is known to the LFP provider.
string external_account_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for externalAccountId. |
getLfpProvider()
public String getLfpProvider()
Required. The resource name of the LFP provider.
Format: lfpProviders/{lfp_provider}
string lfp_provider = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The lfpProvider. |
getLfpProviderBytes()
public ByteString getLfpProviderBytes()
Required. The resource name of the LFP provider.
Format: lfpProviders/{lfp_provider}
string lfp_provider = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for lfpProvider. |
getState()
public ReviewState.State getState()
Output only. The state of the LFP link.
.google.shopping.merchant.accounts.v1beta.ReviewState.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ReviewState.State |
The state. |
getStateValue()
public int getStateValue()
Output only. The state of the LFP link.
.google.shopping.merchant.accounts.v1beta.ReviewState.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LfpLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public LfpLink.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
mergeFrom(LfpLink other)
public LfpLink.Builder mergeFrom(LfpLink other)
Parameter | |
---|---|
Name | Description |
other |
LfpLink |
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LfpLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
setExternalAccountId(String value)
public LfpLink.Builder setExternalAccountId(String value)
Required. The account ID by which this merchant is known to the LFP provider.
string external_account_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The externalAccountId to set. |
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
This builder for chaining. |
setExternalAccountIdBytes(ByteString value)
public LfpLink.Builder setExternalAccountIdBytes(ByteString value)
Required. The account ID by which this merchant is known to the LFP provider.
string external_account_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for externalAccountId to set. |
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public LfpLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
setLfpProvider(String value)
public LfpLink.Builder setLfpProvider(String value)
Required. The resource name of the LFP provider.
Format: lfpProviders/{lfp_provider}
string lfp_provider = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The lfpProvider to set. |
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
This builder for chaining. |
setLfpProviderBytes(ByteString value)
public LfpLink.Builder setLfpProviderBytes(ByteString value)
Required. The resource name of the LFP provider.
Format: lfpProviders/{lfp_provider}
string lfp_provider = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for lfpProvider to set. |
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LfpLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
setState(ReviewState.State value)
public LfpLink.Builder setState(ReviewState.State value)
Output only. The state of the LFP link.
.google.shopping.merchant.accounts.v1beta.ReviewState.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ReviewState.State The state to set. |
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
This builder for chaining. |
setStateValue(int value)
public LfpLink.Builder setStateValue(int value)
Output only. The state of the LFP link.
.google.shopping.merchant.accounts.v1beta.ReviewState.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
LfpLink.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final LfpLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LfpLink.Builder |