Interface ImageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Image,Image.Builder
public interface ImageOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetHeight()Optional.StringgetUri()Required.com.google.protobuf.ByteStringgetUriBytes()Required.intgetWidth()Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getUri
String getUri()
Required. URL of the image with a length limit of 5 KiB.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()
Required. URL of the image with a length limit of 5 KiB.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for uri.
-
getHeight
int getHeight()
Optional. Height of the image in number of pixels.
int32 height = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The height.
-
getWidth
int getWidth()
Optional. Width of the image in number of pixels.
int32 width = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The width.
-
-