Interface LanguageConstantOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getCode()
      Output only.
      com.google.protobuf.ByteString getCodeBytes()
      Output only.
      long getId()
      Output only.
      java.lang.String getName()
      Output only.
      com.google.protobuf.ByteString getNameBytes()
      Output only.
      java.lang.String getResourceName()
      Output only.
      com.google.protobuf.ByteString getResourceNameBytes()
      Output only.
      boolean getTargetable()
      Output only.
      boolean hasCode()
      Output only.
      boolean hasId()
      Output only.
      boolean hasName()
      Output only.
      boolean hasTargetable()
      Output only.
      • 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

      • getResourceName

        java.lang.String getResourceName()
         Output only. The resource name of the language constant.
         Language constant resource names have the form:
         `languageConstants/{criterion_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The resourceName.
      • getResourceNameBytes

        com.google.protobuf.ByteString getResourceNameBytes()
         Output only. The resource name of the language constant.
         Language constant resource names have the form:
         `languageConstants/{criterion_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for resourceName.
      • hasId

        boolean hasId()
         Output only. The ID of the language constant.
         
        optional int64 id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the id field is set.
      • getId

        long getId()
         Output only. The ID of the language constant.
         
        optional int64 id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The id.
      • hasCode

        boolean hasCode()
         Output only. The language code, e.g. "en_US", "en_AU", "es", "fr", etc.
         
        optional string code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the code field is set.
      • getCode

        java.lang.String getCode()
         Output only. The language code, e.g. "en_US", "en_AU", "es", "fr", etc.
         
        optional string code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The code.
      • getCodeBytes

        com.google.protobuf.ByteString getCodeBytes()
         Output only. The language code, e.g. "en_US", "en_AU", "es", "fr", etc.
         
        optional string code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for code.
      • hasName

        boolean hasName()
         Output only. The full name of the language in English, e.g., "English (US)", "Spanish",
         etc.
         
        optional string name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the name field is set.
      • getName

        java.lang.String getName()
         Output only. The full name of the language in English, e.g., "English (US)", "Spanish",
         etc.
         
        optional string name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Output only. The full name of the language in English, e.g., "English (US)", "Spanish",
         etc.
         
        optional string name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for name.
      • hasTargetable

        boolean hasTargetable()
         Output only. Whether the language is targetable.
         
        optional bool targetable = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the targetable field is set.
      • getTargetable

        boolean getTargetable()
         Output only. Whether the language is targetable.
         
        optional bool targetable = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The targetable.