public interface ImageOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getHeight()
public abstract int getHeight()Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
int32 height = 2;
| Type | Description |
| int | The height. |
getUri()
public abstract String getUri()Required. URI of the image. This field must be a valid UTF-8 encoded URI with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property image_link. Schema.org property Product.image.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| String | The uri. |
getUriBytes()
public abstract ByteString getUriBytes()Required. URI of the image. This field must be a valid UTF-8 encoded URI with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property image_link. Schema.org property Product.image.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ByteString | The bytes for uri. |
getWidth()
public abstract int getWidth()Width of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
int32 width = 3;
| Type | Description |
| int | The width. |