public static final class InventoryVerification.Builder extends GeneratedMessageV3.Builder<InventoryVerification.Builder> implements InventoryVerificationOrBuilder
Collection of information related to inventory verification.
Protobuf type google.shopping.merchant.accounts.v1beta.InventoryVerification
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InventoryVerification.BuilderImplements
InventoryVerificationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InventoryVerification.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
InventoryVerification.Builder |
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.v1beta.ReviewState.State contact_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
InventoryVerification.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public InventoryVerification.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
InventoryVerification.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public InventoryVerification.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
InventoryVerification.Builder |
clearState()
public InventoryVerification.Builder clearState()
Output only. The state of the inventory verification process.
.google.shopping.merchant.accounts.v1beta.InventoryVerification.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
InventoryVerification.Builder |
This builder for chaining. |
clone()
public InventoryVerification.Builder clone()
Returns | |
---|---|
Type | Description |
InventoryVerification.Builder |
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.v1beta.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.v1beta.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.v1beta.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.v1beta.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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InventoryVerification.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The 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.v1beta.ReviewState.State contact_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ReviewState.State The 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.v1beta.ReviewState.State contact_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for contactState to set. |
Returns | |
---|---|
Type | Description |
InventoryVerification.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public InventoryVerification.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
InventoryVerification.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InventoryVerification.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
InventoryVerification.Builder |
setState(InventoryVerification.State value)
public InventoryVerification.Builder setState(InventoryVerification.State value)
Output only. The state of the inventory verification process.
.google.shopping.merchant.accounts.v1beta.InventoryVerification.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
InventoryVerification.State The 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.v1beta.InventoryVerification.State state = 1 [(.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 |
InventoryVerification.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final InventoryVerification.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InventoryVerification.Builder |