public static final class InsertMerchantReviewRequest.Builder extends GeneratedMessageV3.Builder<InsertMerchantReviewRequest.Builder> implements InsertMerchantReviewRequestOrBuilder
Request message for the InsertMerchantReview
method.
Protobuf type google.shopping.merchant.reviews.v1beta.InsertMerchantReviewRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public InsertMerchantReviewRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public InsertMerchantReviewRequest build()
public InsertMerchantReviewRequest buildPartial()
public InsertMerchantReviewRequest.Builder clear()
Overrides
public InsertMerchantReviewRequest.Builder clearDataSource()
Required. The data source of the
merchantreview
Format:
accounts/{account}/dataSources/{datasource}
.
string data_source = 3 [(.google.api.field_behavior) = REQUIRED];
public InsertMerchantReviewRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public InsertMerchantReviewRequest.Builder clearMerchantReview()
Required. The merchant review to insert.
.google.shopping.merchant.reviews.v1beta.MerchantReview merchant_review = 2 [(.google.api.field_behavior) = REQUIRED];
public InsertMerchantReviewRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public InsertMerchantReviewRequest.Builder clearParent()
Required. The account where the merchant review will be inserted.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
public InsertMerchantReviewRequest.Builder clone()
Overrides
public String getDataSource()
Required. The data source of the
merchantreview
Format:
accounts/{account}/dataSources/{datasource}
.
string data_source = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The dataSource.
|
public ByteString getDataSourceBytes()
Required. The data source of the
merchantreview
Format:
accounts/{account}/dataSources/{datasource}
.
string data_source = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for dataSource.
|
public InsertMerchantReviewRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public MerchantReview getMerchantReview()
Required. The merchant review to insert.
.google.shopping.merchant.reviews.v1beta.MerchantReview merchant_review = 2 [(.google.api.field_behavior) = REQUIRED];
public MerchantReview.Builder getMerchantReviewBuilder()
Required. The merchant review to insert.
.google.shopping.merchant.reviews.v1beta.MerchantReview merchant_review = 2 [(.google.api.field_behavior) = REQUIRED];
public MerchantReviewOrBuilder getMerchantReviewOrBuilder()
Required. The merchant review to insert.
.google.shopping.merchant.reviews.v1beta.MerchantReview merchant_review = 2 [(.google.api.field_behavior) = REQUIRED];
public String getParent()
Required. The account where the merchant review will be inserted.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The parent.
|
public ByteString getParentBytes()
Required. The account where the merchant review will be inserted.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
public boolean hasMerchantReview()
Required. The merchant review to insert.
.google.shopping.merchant.reviews.v1beta.MerchantReview merchant_review = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the merchantReview field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public InsertMerchantReviewRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public InsertMerchantReviewRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public InsertMerchantReviewRequest.Builder mergeFrom(InsertMerchantReviewRequest other)
public InsertMerchantReviewRequest.Builder mergeMerchantReview(MerchantReview value)
Required. The merchant review to insert.
.google.shopping.merchant.reviews.v1beta.MerchantReview merchant_review = 2 [(.google.api.field_behavior) = REQUIRED];
public final InsertMerchantReviewRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public InsertMerchantReviewRequest.Builder setDataSource(String value)
Required. The data source of the
merchantreview
Format:
accounts/{account}/dataSources/{datasource}
.
string data_source = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The dataSource to set.
|
public InsertMerchantReviewRequest.Builder setDataSourceBytes(ByteString value)
Required. The data source of the
merchantreview
Format:
accounts/{account}/dataSources/{datasource}
.
string data_source = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for dataSource to set.
|
public InsertMerchantReviewRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public InsertMerchantReviewRequest.Builder setMerchantReview(MerchantReview value)
Required. The merchant review to insert.
.google.shopping.merchant.reviews.v1beta.MerchantReview merchant_review = 2 [(.google.api.field_behavior) = REQUIRED];
public InsertMerchantReviewRequest.Builder setMerchantReview(MerchantReview.Builder builderForValue)
Required. The merchant review to insert.
.google.shopping.merchant.reviews.v1beta.MerchantReview merchant_review = 2 [(.google.api.field_behavior) = REQUIRED];
public InsertMerchantReviewRequest.Builder setParent(String value)
Required. The account where the merchant review will be inserted.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The parent to set.
|
public InsertMerchantReviewRequest.Builder setParentBytes(ByteString value)
Required. The account where the merchant review will be inserted.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
public InsertMerchantReviewRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final InsertMerchantReviewRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides