Class InsertMerchantReviewRequest.Builder (0.1.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InsertMerchantReviewRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InsertMerchantReviewRequest.Builder
Overrides

build()

public InsertMerchantReviewRequest build()
Returns
Type Description
InsertMerchantReviewRequest

buildPartial()

public InsertMerchantReviewRequest buildPartial()
Returns
Type Description
InsertMerchantReviewRequest

clear()

public InsertMerchantReviewRequest.Builder clear()
Returns
Type Description
InsertMerchantReviewRequest.Builder
Overrides

clearDataSource()

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];

Returns
Type Description
InsertMerchantReviewRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InsertMerchantReviewRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InsertMerchantReviewRequest.Builder
Overrides

clearMerchantReview()

public InsertMerchantReviewRequest.Builder clearMerchantReview()

Required. The merchant review to insert.

.google.shopping.merchant.reviews.v1beta.MerchantReview merchant_review = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InsertMerchantReviewRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InsertMerchantReviewRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InsertMerchantReviewRequest.Builder
Overrides

clearParent()

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];

Returns
Type Description
InsertMerchantReviewRequest.Builder

This builder for chaining.

clone()

public InsertMerchantReviewRequest.Builder clone()
Returns
Type Description
InsertMerchantReviewRequest.Builder
Overrides

getDataSource()

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.

getDataSourceBytes()

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.

getDefaultInstanceForType()

public InsertMerchantReviewRequest getDefaultInstanceForType()
Returns
Type Description
InsertMerchantReviewRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMerchantReview()

public MerchantReview getMerchantReview()

Required. The merchant review to insert.

.google.shopping.merchant.reviews.v1beta.MerchantReview merchant_review = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MerchantReview

The merchantReview.

getMerchantReviewBuilder()

public MerchantReview.Builder getMerchantReviewBuilder()

Required. The merchant review to insert.

.google.shopping.merchant.reviews.v1beta.MerchantReview merchant_review = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MerchantReview.Builder

getMerchantReviewOrBuilder()

public MerchantReviewOrBuilder getMerchantReviewOrBuilder()

Required. The merchant review to insert.

.google.shopping.merchant.reviews.v1beta.MerchantReview merchant_review = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MerchantReviewOrBuilder

getParent()

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.

getParentBytes()

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.

hasMerchantReview()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InsertMerchantReviewRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InsertMerchantReviewRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InsertMerchantReviewRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InsertMerchantReviewRequest.Builder
Overrides

mergeFrom(InsertMerchantReviewRequest other)

public InsertMerchantReviewRequest.Builder mergeFrom(InsertMerchantReviewRequest other)
Parameter
Name Description
other InsertMerchantReviewRequest
Returns
Type Description
InsertMerchantReviewRequest.Builder

mergeMerchantReview(MerchantReview value)

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];

Parameter
Name Description
value MerchantReview
Returns
Type Description
InsertMerchantReviewRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InsertMerchantReviewRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InsertMerchantReviewRequest.Builder
Overrides

setDataSource(String value)

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.

Returns
Type Description
InsertMerchantReviewRequest.Builder

This builder for chaining.

setDataSourceBytes(ByteString value)

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.

Returns
Type Description
InsertMerchantReviewRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InsertMerchantReviewRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InsertMerchantReviewRequest.Builder
Overrides

setMerchantReview(MerchantReview value)

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];

Parameter
Name Description
value MerchantReview
Returns
Type Description
InsertMerchantReviewRequest.Builder

setMerchantReview(MerchantReview.Builder builderForValue)

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];

Parameter
Name Description
builderForValue MerchantReview.Builder
Returns
Type Description
InsertMerchantReviewRequest.Builder

setParent(String value)

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.

Returns
Type Description
InsertMerchantReviewRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

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.

Returns
Type Description
InsertMerchantReviewRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InsertMerchantReviewRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InsertMerchantReviewRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InsertMerchantReviewRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InsertMerchantReviewRequest.Builder
Overrides