Interface CreateRecognizerRequestOrBuilder

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

    public interface CreateRecognizerRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getParent()
      Required.
      com.google.protobuf.ByteString getParentBytes()
      Required.
      Recognizer getRecognizer()
      Required.
      String getRecognizerId()
      The ID to use for the Recognizer, which will become the final component of the Recognizer's resource name.
      com.google.protobuf.ByteString getRecognizerIdBytes()
      The ID to use for the Recognizer, which will become the final component of the Recognizer's resource name.
      RecognizerOrBuilder getRecognizerOrBuilder()
      Required.
      boolean getValidateOnly()
      If set, validate the request and preview the Recognizer, but do not actually create it.
      boolean hasRecognizer()
      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 Detail

      • hasRecognizer

        boolean hasRecognizer()
         Required. The Recognizer to create.
         
        .google.cloud.speech.v2.Recognizer recognizer = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the recognizer field is set.
      • getRecognizer

        Recognizer getRecognizer()
         Required. The Recognizer to create.
         
        .google.cloud.speech.v2.Recognizer recognizer = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The recognizer.
      • getRecognizerOrBuilder

        RecognizerOrBuilder getRecognizerOrBuilder()
         Required. The Recognizer to create.
         
        .google.cloud.speech.v2.Recognizer recognizer = 1 [(.google.api.field_behavior) = REQUIRED];
      • getValidateOnly

        boolean getValidateOnly()
         If set, validate the request and preview the Recognizer, but do not
         actually create it.
         
        bool validate_only = 2;
        Returns:
        The validateOnly.
      • getRecognizerId

        String getRecognizerId()
         The ID to use for the Recognizer, which will become the final component of
         the Recognizer's resource name.
        
         This value should be 4-63 characters, and valid characters
         are /[a-z][0-9]-/.
         
        string recognizer_id = 3;
        Returns:
        The recognizerId.
      • getRecognizerIdBytes

        com.google.protobuf.ByteString getRecognizerIdBytes()
         The ID to use for the Recognizer, which will become the final component of
         the Recognizer's resource name.
        
         This value should be 4-63 characters, and valid characters
         are /[a-z][0-9]-/.
         
        string recognizer_id = 3;
        Returns:
        The bytes for recognizerId.
      • getParent

        String getParent()
         Required. The project and location where this Recognizer will be created.
         The expected format is `projects/{project}/locations/{location}`.
         
        string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.ByteString getParentBytes()
         Required. The project and location where this Recognizer will be created.
         The expected format is `projects/{project}/locations/{location}`.
         
        string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for parent.