public static final class InventoryVerification.Builder extends GeneratedMessage.Builder<InventoryVerification.Builder> implements InventoryVerificationOrBuilderCollection of information related to inventory verification.
Protobuf type google.shopping.merchant.accounts.v1.InventoryVerification
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InventoryVerification.BuilderImplements
InventoryVerificationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public InventoryVerification build()| Returns | |
|---|---|
| Type | Description |
InventoryVerification |
|
buildPartial()
public InventoryVerification buildPartial()| Returns | |
|---|---|
| Type | Description |
InventoryVerification |
|
clear()
public InventoryVerification.Builder clear()| Returns | |
|---|---|
| Type | Description |
InventoryVerification.Builder |
|
clearContact()
public InventoryVerification.Builder clearContact()Required. The name of the contact for the inventory verification process.
string contact = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
InventoryVerification.Builder |
This builder for chaining. |
clearContactEmail()
public InventoryVerification.Builder clearContactEmail()Required. The email address of the contact for the inventory verification process.
string contact_email = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
InventoryVerification.Builder |
This builder for chaining. |
clearContactState()
public InventoryVerification.Builder clearContactState()Output only. The state of the contact verification.
.google.shopping.merchant.accounts.v1.ReviewState.State contact_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InventoryVerification.Builder |
This builder for chaining. |
clearState()
public InventoryVerification.Builder clearState()Output only. The state of the inventory verification process.
.google.shopping.merchant.accounts.v1.InventoryVerification.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InventoryVerification.Builder |
This builder for chaining. |
getContact()
public String getContact()Required. The name of the contact for the inventory verification process.
string contact = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The contact. |
getContactBytes()
public ByteString getContactBytes()Required. The name of the contact for the inventory verification process.
string contact = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for contact. |
getContactEmail()
public String getContactEmail()Required. The email address of the contact for the inventory verification process.
string contact_email = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The contactEmail. |
getContactEmailBytes()
public ByteString getContactEmailBytes()Required. The email address of the contact for the inventory verification process.
string contact_email = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for contactEmail. |
getContactState()
public ReviewState.State getContactState()Output only. The state of the contact verification.
.google.shopping.merchant.accounts.v1.ReviewState.State contact_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ReviewState.State |
The contactState. |
getContactStateValue()
public int getContactStateValue()Output only. The state of the contact verification.
.google.shopping.merchant.accounts.v1.ReviewState.State contact_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for contactState. |
getDefaultInstanceForType()
public InventoryVerification getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InventoryVerification |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getState()
public InventoryVerification.State getState()Output only. The state of the inventory verification process.
.google.shopping.merchant.accounts.v1.InventoryVerification.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InventoryVerification.State |
The state. |
getStateValue()
public int getStateValue()Output only. The state of the inventory verification process.
.google.shopping.merchant.accounts.v1.InventoryVerification.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InventoryVerification.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InventoryVerification.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InventoryVerification.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InventoryVerification.Builder |
|
mergeFrom(InventoryVerification other)
public InventoryVerification.Builder mergeFrom(InventoryVerification other)| Parameter | |
|---|---|
| Name | Description |
other |
InventoryVerification |
| Returns | |
|---|---|
| Type | Description |
InventoryVerification.Builder |
|
setContact(String value)
public InventoryVerification.Builder setContact(String value)Required. The name of the contact for the inventory verification process.
string contact = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe contact to set. |
| Returns | |
|---|---|
| Type | Description |
InventoryVerification.Builder |
This builder for chaining. |
setContactBytes(ByteString value)
public InventoryVerification.Builder setContactBytes(ByteString value)Required. The name of the contact for the inventory verification process.
string contact = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for contact to set. |
| Returns | |
|---|---|
| Type | Description |
InventoryVerification.Builder |
This builder for chaining. |
setContactEmail(String value)
public InventoryVerification.Builder setContactEmail(String value)Required. The email address of the contact for the inventory verification process.
string contact_email = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe contactEmail to set. |
| Returns | |
|---|---|
| Type | Description |
InventoryVerification.Builder |
This builder for chaining. |
setContactEmailBytes(ByteString value)
public InventoryVerification.Builder setContactEmailBytes(ByteString value)Required. The email address of the contact for the inventory verification process.
string contact_email = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for contactEmail to set. |
| Returns | |
|---|---|
| Type | Description |
InventoryVerification.Builder |
This builder for chaining. |
setContactState(ReviewState.State value)
public InventoryVerification.Builder setContactState(ReviewState.State value)Output only. The state of the contact verification.
.google.shopping.merchant.accounts.v1.ReviewState.State contact_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ReviewState.StateThe contactState to set. |
| Returns | |
|---|---|
| Type | Description |
InventoryVerification.Builder |
This builder for chaining. |
setContactStateValue(int value)
public InventoryVerification.Builder setContactStateValue(int value)Output only. The state of the contact verification.
.google.shopping.merchant.accounts.v1.ReviewState.State contact_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for contactState to set. |
| Returns | |
|---|---|
| Type | Description |
InventoryVerification.Builder |
This builder for chaining. |
setState(InventoryVerification.State value)
public InventoryVerification.Builder setState(InventoryVerification.State value)Output only. The state of the inventory verification process.
.google.shopping.merchant.accounts.v1.InventoryVerification.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
InventoryVerification.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
InventoryVerification.Builder |
This builder for chaining. |
setStateValue(int value)
public InventoryVerification.Builder setStateValue(int value)Output only. The state of the inventory verification process.
.google.shopping.merchant.accounts.v1.InventoryVerification.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
InventoryVerification.Builder |
This builder for chaining. |