Class GetProductReviewRequest (0.1.0)

public final class GetProductReviewRequest extends GeneratedMessageV3 implements GetProductReviewRequestOrBuilder

Request message for the GetProductReview method.

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

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GetProductReviewRequest getDefaultInstance()
Returns
Type Description
GetProductReviewRequest

getDescriptor()

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

newBuilder()

public static GetProductReviewRequest.Builder newBuilder()
Returns
Type Description
GetProductReviewRequest.Builder

newBuilder(GetProductReviewRequest prototype)

public static GetProductReviewRequest.Builder newBuilder(GetProductReviewRequest prototype)
Parameter
Name Description
prototype GetProductReviewRequest
Returns
Type Description
GetProductReviewRequest.Builder

parseDelimitedFrom(InputStream input)

public static GetProductReviewRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetProductReviewRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetProductReviewRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetProductReviewRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GetProductReviewRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GetProductReviewRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GetProductReviewRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetProductReviewRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GetProductReviewRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GetProductReviewRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetProductReviewRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetProductReviewRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GetProductReviewRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GetProductReviewRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GetProductReviewRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetProductReviewRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GetProductReviewRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetProductReviewRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetProductReviewRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetProductReviewRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GetProductReviewRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GetProductReviewRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GetProductReviewRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetProductReviewRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GetProductReviewRequest> parser()
Returns
Type Description
Parser<GetProductReviewRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GetProductReviewRequest getDefaultInstanceForType()
Returns
Type Description
GetProductReviewRequest

getName()

public String getName()

Required. The ID of the merchant review. Format: accounts/{account}/productReviews/{productReview}

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}/productReviews/{productReview}

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

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<GetProductReviewRequest> getParserForType()
Returns
Type Description
Parser<GetProductReviewRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GetProductReviewRequest.Builder newBuilderForType()
Returns
Type Description
GetProductReviewRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GetProductReviewRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GetProductReviewRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GetProductReviewRequest.Builder toBuilder()
Returns
Type Description
GetProductReviewRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException