Interface ListGlossariesRequestOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getFilter()
      Optional.
      com.google.protobuf.ByteString getFilterBytes()
      Optional.
      int getPageSize()
      Optional.
      String getPageToken()
      Optional.
      com.google.protobuf.ByteString getPageTokenBytes()
      Optional.
      String getParent()
      Required.
      com.google.protobuf.ByteString getParentBytes()
      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

      • getParent

        String getParent()
         Required. The name of the project from which to list all of the glossaries.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.ByteString getParentBytes()
         Required. The name of the project from which to list all of the glossaries.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for parent.
      • getPageSize

        int getPageSize()
         Optional. Requested page size. The server may return fewer glossaries than
         requested. If unspecified, the server picks an appropriate default.
         
        int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The pageSize.
      • getPageToken

        String getPageToken()
         Optional. A token identifying a page of results the server should return.
         Typically, this is the value of [ListGlossariesResponse.next_page_token]
         returned from the previous call to `ListGlossaries` method.
         The first page is returned if `page_token`is empty or missing.
         
        string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The pageToken.
      • getPageTokenBytes

        com.google.protobuf.ByteString getPageTokenBytes()
         Optional. A token identifying a page of results the server should return.
         Typically, this is the value of [ListGlossariesResponse.next_page_token]
         returned from the previous call to `ListGlossaries` method.
         The first page is returned if `page_token`is empty or missing.
         
        string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for pageToken.
      • getFilter

        String getFilter()
         Optional. Filter specifying constraints of a list operation.
         Specify the constraint by the format of "key=value", where key must be
         "src" or "tgt", and the value must be a valid language code.
         For multiple restrictions, concatenate them by "AND" (uppercase only),
         such as: "src=en-US AND tgt=zh-CN". Notice that the exact match is used
         here, which means using 'en-US' and 'en' can lead to different results,
         which depends on the language code you used when you create the glossary.
         For the unidirectional glossaries, the "src" and "tgt" add restrictions
         on the source and target language code separately.
         For the equivalent term set glossaries, the "src" and/or "tgt" add
         restrictions on the term set.
         For example: "src=en-US AND tgt=zh-CN" will only pick the unidirectional
         glossaries which exactly match the source language code as "en-US" and the
         target language code "zh-CN", but all equivalent term set glossaries which
         contain "en-US" and "zh-CN" in their language set will be picked.
         If missing, no filtering is performed.
         
        string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The filter.
      • getFilterBytes

        com.google.protobuf.ByteString getFilterBytes()
         Optional. Filter specifying constraints of a list operation.
         Specify the constraint by the format of "key=value", where key must be
         "src" or "tgt", and the value must be a valid language code.
         For multiple restrictions, concatenate them by "AND" (uppercase only),
         such as: "src=en-US AND tgt=zh-CN". Notice that the exact match is used
         here, which means using 'en-US' and 'en' can lead to different results,
         which depends on the language code you used when you create the glossary.
         For the unidirectional glossaries, the "src" and "tgt" add restrictions
         on the source and target language code separately.
         For the equivalent term set glossaries, the "src" and/or "tgt" add
         restrictions on the term set.
         For example: "src=en-US AND tgt=zh-CN" will only pick the unidirectional
         glossaries which exactly match the source language code as "en-US" and the
         target language code "zh-CN", but all equivalent term set glossaries which
         contain "en-US" and "zh-CN" in their language set will be picked.
         If missing, no filtering is performed.
         
        string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for filter.