public interface ImageOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
Height of the image in number of pixels.
|
String |
getUri()
Required.
|
com.google.protobuf.ByteString |
getUriBytes()
Required.
|
int |
getWidth()
Width of the image in number of pixels.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).
string uri = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.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](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).
string uri = 1 [(.google.api.field_behavior) = REQUIRED];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;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;Copyright © 2023 Google LLC. All rights reserved.