Interface Vision.GetClassificationsRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Vision.GetClassificationsRequest, Vision.GetClassificationsRequest.Builder
Enclosing class:
Vision

public static interface Vision.GetClassificationsRequestOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Struct
    Additional arguments to the method
    int
    the height of the image
    com.google.protobuf.ByteString
    the image encoded as bytes
    the actual MIME type of image
    com.google.protobuf.ByteString
    the actual MIME type of image
    int
    the number of classifications desired
    name of the vision service
    com.google.protobuf.ByteString
    name of the vision service
    int
    the width of the image
    boolean
    Additional arguments to the method

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getName

      String getName()
       name of the vision service
       
      string name = 1 [json_name = "name"];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       name of the vision service
       
      string name = 1 [json_name = "name"];
      Returns:
      The bytes for name.
    • getImage

      com.google.protobuf.ByteString getImage()
       the image encoded as bytes
       
      bytes image = 2 [json_name = "image"];
      Returns:
      The image.
    • getWidth

      int getWidth()
       the width of the image
       
      int32 width = 3 [json_name = "width"];
      Returns:
      The width.
    • getHeight

      int getHeight()
       the height of the image
       
      int32 height = 4 [json_name = "height"];
      Returns:
      The height.
    • getMimeType

      String getMimeType()
       the actual MIME type of image
       
      string mime_type = 5 [json_name = "mimeType"];
      Returns:
      The mimeType.
    • getMimeTypeBytes

      com.google.protobuf.ByteString getMimeTypeBytes()
       the actual MIME type of image
       
      string mime_type = 5 [json_name = "mimeType"];
      Returns:
      The bytes for mimeType.
    • getN

      int getN()
       the number of classifications desired
       
      int32 n = 6 [json_name = "n"];
      Returns:
      The n.
    • hasExtra

      boolean hasExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Returns:
      Whether the extra field is set.
    • getExtra

      com.google.protobuf.Struct getExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Returns:
      The extra.