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

    Modifier and Type
    Method
    Description
    Output only.
    com.google.protobuf.ByteString
    Output only.
    long
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    boolean
    Output only.
    boolean
    Output only.
    boolean
    Output only.
    boolean
    Output only.
    boolean
    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 Details

    • getResourceName

      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, for example, "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

      String getCode()
       Output only. The language code, for example, "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, for example, "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, for example,
       "English (US)", "Spanish", etc.
       
      optional string name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the name field is set.
    • getName

      String getName()
       Output only. The full name of the language in English, for example,
       "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, for example,
       "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.