Interface CarrierConstantOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getCountryCode()
      Output only.
      com.google.protobuf.ByteString getCountryCodeBytes()
      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 hasCountryCode()
      Output only.
      boolean hasId()
      Output only.
      boolean hasName()
      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 carrier criterion.
         Carrier criterion resource names have the form:
         `carrierConstants/{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 carrier criterion.
         Carrier criterion resource names have the form:
         `carrierConstants/{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 carrier criterion.
         
        optional int64 id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the id field is set.
      • getId

        long getId()
         Output only. The ID of the carrier criterion.
         
        optional int64 id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The id.
      • hasName

        boolean hasName()
         Output only. The full name of the carrier in English.
         
        optional string name = 6 [(.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 carrier in English.
         
        optional string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Output only. The full name of the carrier in English.
         
        optional string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for name.
      • hasCountryCode

        boolean hasCountryCode()
         Output only. The country code of the country where the carrier is located, e.g., "AR",
         "FR", etc.
         
        optional string country_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the countryCode field is set.
      • getCountryCode

        java.lang.String getCountryCode()
         Output only. The country code of the country where the carrier is located, e.g., "AR",
         "FR", etc.
         
        optional string country_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The countryCode.
      • getCountryCodeBytes

        com.google.protobuf.ByteString getCountryCodeBytes()
         Output only. The country code of the country where the carrier is located, e.g., "AR",
         "FR", etc.
         
        optional string country_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for countryCode.