Interface ListCustomClassesRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    int
    The maximum number of custom classes to return.
    A page token, received from a previous `ListCustomClass` call.
    com.google.protobuf.ByteString
    A page token, received from a previous `ListCustomClass` call.
    Required.
    com.google.protobuf.ByteString
    Required.

    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

    • getParent

      String getParent()
       Required. The parent, which owns this collection of custom classes. Format:
      
       `projects/{project}/locations/{location}/customClasses`
      
       Speech-to-Text supports three locations: `global`, `us` (US North America),
       and `eu` (Europe). If you are calling the `speech.googleapis.com`
       endpoint, use the `global` location. To specify a region, use a
       [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
       with matching `us` or `eu` location value.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The parent, which owns this collection of custom classes. Format:
      
       `projects/{project}/locations/{location}/customClasses`
      
       Speech-to-Text supports three locations: `global`, `us` (US North America),
       and `eu` (Europe). If you are calling the `speech.googleapis.com`
       endpoint, use the `global` location. To specify a region, use a
       [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
       with matching `us` or `eu` location value.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getPageSize

      int getPageSize()
       The maximum number of custom classes to return. The service may return
       fewer than this value. If unspecified, at most 50 custom classes will be
       returned. The maximum value is 1000; values above 1000 will be coerced to
       1000.
       
      int32 page_size = 2;
      Returns:
      The pageSize.
    • getPageToken

      String getPageToken()
       A page token, received from a previous `ListCustomClass` call.
       Provide this to retrieve the subsequent page.
      
       When paginating, all other parameters provided to `ListCustomClass` must
       match the call that provided the page token.
       
      string page_token = 3;
      Returns:
      The pageToken.
    • getPageTokenBytes

      com.google.protobuf.ByteString getPageTokenBytes()
       A page token, received from a previous `ListCustomClass` call.
       Provide this to retrieve the subsequent page.
      
       When paginating, all other parameters provided to `ListCustomClass` must
       match the call that provided the page token.
       
      string page_token = 3;
      Returns:
      The bytes for pageToken.