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.StringgetCountryCode()Output only.com.google.protobuf.ByteStringgetCountryCodeBytes()Output only.longgetId()Output only.java.lang.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.java.lang.StringgetResourceName()Output only.com.google.protobuf.ByteStringgetResourceNameBytes()Output only.booleanhasCountryCode()Output only.booleanhasId()Output only.booleanhasName()Output only.-
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.
-
-