Interface ImageDimensionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImageDimension,ImageDimension.Builder
public interface ImageDimensionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongHeight of the image.getUrl()A URL that returns the image with this height and width.com.google.protobuf.ByteStringA URL that returns the image with this height and width.longWidth of the image.booleanHeight of the image.booleanhasUrl()A URL that returns the image with this height and width.booleanWidth of the image.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasHeightPixels
boolean hasHeightPixels()Height of the image.
optional int64 height_pixels = 4;- Returns:
- Whether the heightPixels field is set.
-
getHeightPixels
long getHeightPixels()Height of the image.
optional int64 height_pixels = 4;- Returns:
- The heightPixels.
-
hasWidthPixels
boolean hasWidthPixels()Width of the image.
optional int64 width_pixels = 5;- Returns:
- Whether the widthPixels field is set.
-
getWidthPixels
long getWidthPixels()Width of the image.
optional int64 width_pixels = 5;- Returns:
- The widthPixels.
-
hasUrl
boolean hasUrl()A URL that returns the image with this height and width.
optional string url = 6;- Returns:
- Whether the url field is set.
-
getUrl
String getUrl()A URL that returns the image with this height and width.
optional string url = 6;- Returns:
- The url.
-
getUrlBytes
com.google.protobuf.ByteString getUrlBytes()A URL that returns the image with this height and width.
optional string url = 6;- Returns:
- The bytes for url.
-