Class GetMerchantReviewRequest.Builder (0.1.0)

public static final class GetMerchantReviewRequest.Builder extends GeneratedMessageV3.Builder<GetMerchantReviewRequest.Builder> implements GetMerchantReviewRequestOrBuilder

Request message for the GetMerchantReview method.

Protobuf type google.shopping.merchant.reviews.v1beta.GetMerchantReviewRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetMerchantReviewRequest build()
Returns
Type Description
GetMerchantReviewRequest

buildPartial()

public GetMerchantReviewRequest buildPartial()
Returns
Type Description
GetMerchantReviewRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetMerchantReviewRequest.Builder clearName()

Required. The ID of the merchant review. Format: accounts/{account}/merchantReviews/{merchantReview}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetMerchantReviewRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetMerchantReviewRequest getDefaultInstanceForType()
Returns
Type Description
GetMerchantReviewRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The ID of the merchant review. Format: accounts/{account}/merchantReviews/{merchantReview}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The ID of the merchant review. Format: accounts/{account}/merchantReviews/{merchantReview}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

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 GetMerchantReviewRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetMerchantReviewRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(GetMerchantReviewRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetMerchantReviewRequest.Builder setName(String value)

Required. The ID of the merchant review. Format: accounts/{account}/merchantReviews/{merchantReview}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetMerchantReviewRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetMerchantReviewRequest.Builder setNameBytes(ByteString value)

Required. The ID of the merchant review. Format: accounts/{account}/merchantReviews/{merchantReview}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetMerchantReviewRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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