Interface ImageOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Image, Image.Builder

@Generated public interface ImageOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.
    int
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.