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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetHeightPixels()Height of the image.java.lang.StringgetUrl()A URL that returns the image with this height and width.com.google.protobuf.ByteStringgetUrlBytes()A URL that returns the image with this height and width.longgetWidthPixels()Width of the image.booleanhasHeightPixels()Height of the image.booleanhasUrl()A URL that returns the image with this height and width.booleanhasWidthPixels()Width of the image.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
java.lang.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.
-
-