Class ProductReviewAttributes.ReviewLink (0.1.0)

public static final class ProductReviewAttributes.ReviewLink extends GeneratedMessageV3 implements ProductReviewAttributes.ReviewLinkOrBuilder

The URI of the review landing page.

Protobuf type google.shopping.merchant.reviews.v1beta.ProductReviewAttributes.ReviewLink

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ProductReviewAttributes.ReviewLink

Static Fields

public static final int LINK_FIELD_NUMBER
Field Value
Type Description
int
public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

public static ProductReviewAttributes.ReviewLink getDefaultInstance()
Returns
Type Description
ProductReviewAttributes.ReviewLink
public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor
public static ProductReviewAttributes.ReviewLink.Builder newBuilder()
Returns
Type Description
ProductReviewAttributes.ReviewLink.Builder
public static ProductReviewAttributes.ReviewLink.Builder newBuilder(ProductReviewAttributes.ReviewLink prototype)
Parameter
Name Description
prototype ProductReviewAttributes.ReviewLink
Returns
Type Description
ProductReviewAttributes.ReviewLink.Builder
public static ProductReviewAttributes.ReviewLink parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductReviewAttributes.ReviewLink
Exceptions
Type Description
IOException
public static ProductReviewAttributes.ReviewLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductReviewAttributes.ReviewLink
Exceptions
Type Description
IOException
public static ProductReviewAttributes.ReviewLink parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProductReviewAttributes.ReviewLink
Exceptions
Type Description
InvalidProtocolBufferException
public static ProductReviewAttributes.ReviewLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductReviewAttributes.ReviewLink
Exceptions
Type Description
InvalidProtocolBufferException
public static ProductReviewAttributes.ReviewLink parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProductReviewAttributes.ReviewLink
Exceptions
Type Description
InvalidProtocolBufferException
public static ProductReviewAttributes.ReviewLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductReviewAttributes.ReviewLink
Exceptions
Type Description
InvalidProtocolBufferException
public static ProductReviewAttributes.ReviewLink parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProductReviewAttributes.ReviewLink
Exceptions
Type Description
IOException
public static ProductReviewAttributes.ReviewLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductReviewAttributes.ReviewLink
Exceptions
Type Description
IOException
public static ProductReviewAttributes.ReviewLink parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductReviewAttributes.ReviewLink
Exceptions
Type Description
IOException
public static ProductReviewAttributes.ReviewLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductReviewAttributes.ReviewLink
Exceptions
Type Description
IOException
public static ProductReviewAttributes.ReviewLink parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProductReviewAttributes.ReviewLink
Exceptions
Type Description
InvalidProtocolBufferException
public static ProductReviewAttributes.ReviewLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductReviewAttributes.ReviewLink
Exceptions
Type Description
InvalidProtocolBufferException
public static Parser<ProductReviewAttributes.ReviewLink> parser()
Returns
Type Description
Parser<ReviewLink>

Methods

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides
public ProductReviewAttributes.ReviewLink getDefaultInstanceForType()
Returns
Type Description
ProductReviewAttributes.ReviewLink
public String getLink()

Optional. The URI of the review landing page. For example: http://www.example.com/review_5.html.

string link = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The link.

public ByteString getLinkBytes()

Optional. The URI of the review landing page. For example: http://www.example.com/review_5.html.

string link = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for link.

public Parser<ProductReviewAttributes.ReviewLink> getParserForType()
Returns
Type Description
Parser<ReviewLink>
Overrides
public int getSerializedSize()
Returns
Type Description
int
Overrides
public ProductReviewAttributes.ReviewLink.Type getType()

Optional. Type of the review URI.

.google.shopping.merchant.reviews.v1beta.ProductReviewAttributes.ReviewLink.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProductReviewAttributes.ReviewLink.Type

The type.

public int getTypeValue()

Optional. Type of the review URI.

.google.shopping.merchant.reviews.v1beta.ProductReviewAttributes.ReviewLink.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for type.

public int hashCode()
Returns
Type Description
int
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public ProductReviewAttributes.ReviewLink.Builder newBuilderForType()
Returns
Type Description
ProductReviewAttributes.ReviewLink.Builder
protected ProductReviewAttributes.ReviewLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProductReviewAttributes.ReviewLink.Builder
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides
public ProductReviewAttributes.ReviewLink.Builder toBuilder()
Returns
Type Description
ProductReviewAttributes.ReviewLink.Builder
public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException