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
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.longgetId()Output only.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanhasId()Output only.booleanhasName()Output only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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 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
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, for example, "AR", "FR", etc.
optional string country_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the countryCode field is set.
-
getCountryCode
String getCountryCode()Output only. The country code of the country where the carrier is located, for example, "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, for example, "AR", "FR", etc.
optional string country_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for countryCode.
-