Interface CustomClassOrBuilder

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

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

    Modifier and Type
    Method
    Description
    If this custom class is a resource, the custom_class_id is the resource id of the CustomClass.
    com.google.protobuf.ByteString
    If this custom class is a resource, the custom_class_id is the resource id of the CustomClass.
    getItems(int index)
    A collection of class items.
    int
    A collection of class items.
    A collection of class items.
    getItemsOrBuilder(int index)
    A collection of class items.
    A collection of class items.
    The resource name of the custom class.
    com.google.protobuf.ByteString
    The resource name of the custom class.

    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

    • getName

      String getName()
       The resource name of the custom class.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The resource name of the custom class.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getCustomClassId

      String getCustomClassId()
       If this custom class is a resource, the custom_class_id is the resource id
       of the CustomClass. Case sensitive.
       
      string custom_class_id = 2;
      Returns:
      The customClassId.
    • getCustomClassIdBytes

      com.google.protobuf.ByteString getCustomClassIdBytes()
       If this custom class is a resource, the custom_class_id is the resource id
       of the CustomClass. Case sensitive.
       
      string custom_class_id = 2;
      Returns:
      The bytes for customClassId.
    • getItemsList

      List<CustomClass.ClassItem> getItemsList()
       A collection of class items.
       
      repeated .google.cloud.speech.v1.CustomClass.ClassItem items = 3;
    • getItems

      CustomClass.ClassItem getItems(int index)
       A collection of class items.
       
      repeated .google.cloud.speech.v1.CustomClass.ClassItem items = 3;
    • getItemsCount

      int getItemsCount()
       A collection of class items.
       
      repeated .google.cloud.speech.v1.CustomClass.ClassItem items = 3;
    • getItemsOrBuilderList

      List<? extends CustomClass.ClassItemOrBuilder> getItemsOrBuilderList()
       A collection of class items.
       
      repeated .google.cloud.speech.v1.CustomClass.ClassItem items = 3;
    • getItemsOrBuilder

      CustomClass.ClassItemOrBuilder getItemsOrBuilder(int index)
       A collection of class items.
       
      repeated .google.cloud.speech.v1.CustomClass.ClassItem items = 3;