Interface CreatePhraseSetRequestOrBuilder

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

    public interface CreatePhraseSetRequestOrBuilder
    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.
      PhraseSet getPhraseSet()
      Required.
      String getPhraseSetId()
      The ID to use for the PhraseSet, which will become the final component of the PhraseSet's resource name.
      com.google.protobuf.ByteString getPhraseSetIdBytes()
      The ID to use for the PhraseSet, which will become the final component of the PhraseSet's resource name.
      PhraseSetOrBuilder getPhraseSetOrBuilder()
      Required.
      boolean getValidateOnly()
      If set, validate the request and preview the PhraseSet, but do not actually create it.
      boolean hasPhraseSet()
      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

      • hasPhraseSet

        boolean hasPhraseSet()
         Required. The PhraseSet to create.
         
        .google.cloud.speech.v2.PhraseSet phrase_set = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the phraseSet field is set.
      • getPhraseSet

        PhraseSet getPhraseSet()
         Required. The PhraseSet to create.
         
        .google.cloud.speech.v2.PhraseSet phrase_set = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The phraseSet.
      • getPhraseSetOrBuilder

        PhraseSetOrBuilder getPhraseSetOrBuilder()
         Required. The PhraseSet to create.
         
        .google.cloud.speech.v2.PhraseSet phrase_set = 1 [(.google.api.field_behavior) = REQUIRED];
      • getValidateOnly

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

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

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

        String getParent()
         Required. The project and location where this PhraseSet 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 PhraseSet 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.