-
- All Implemented Interfaces:
-
com.polygamma.ogm.util.ProtobufMessage
public final class SubscriptionDescriptor implements ProtobufMessage
Device telephony subscription descriptor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceSubscriptionDescriptor.BuilderSubscription descriptor builder.
-
Method Summary
Modifier and Type Method Description static SubscriptionDescriptor.BuilderofBuilder()Construct new empty builder. SubscriptionDescriptormergeFrom(ProtobufReader reader)Read and merge from Protobuf wire-codec reader. voidwriteTo(ProtobufWriter writer)Write {@code this}to a Protobuf wire-codec writer.SubscriptionDescriptor.BuildertoBuilder()Construct new builder initialized with {@code this}.intid()Unique subscription id. intconnectionType()Network connection type of subscription. intcarrierId()AOSP assigned carrier id subscription is registered with. StringcarrierName()Human-readable name of carrier subscription is registered with. StringoperatorCode()MCC-MNC of operator subscription is registered with. StringoperatorName()Human-readable name of operator subscription is registered with. StringcountryCode()ISO 3166-1 alpha-2 country code of operator subscription is registered with. StringnetworkOperatorCode()MCC-MNC of operator subscription is registered with for network operations. StringnetworkOperatorName()Human-readable name of operator subscription is registered with for network operations. StringnetworkCountryCode()ISO 3166-1 alpha-2 country code of operator subscription is registered with for networkoperations. inthashCode()booleanequals(@Nullable() Object other)StringtoString()-
-
Method Detail
-
ofBuilder
static SubscriptionDescriptor.Builder ofBuilder()
Construct new empty builder.
-
mergeFrom
SubscriptionDescriptor mergeFrom(ProtobufReader reader)
Read and merge from Protobuf wire-codec reader.
- Parameters:
reader- reader to merge from
-
writeTo
void writeTo(ProtobufWriter writer)
Write
{@code this}to a Protobuf wire-codec writer.- Parameters:
writer- writer to write to
-
toBuilder
SubscriptionDescriptor.Builder toBuilder()
Construct new builder initialized with
{@code this}.
-
id
int id()
Unique subscription id.
-
connectionType
int connectionType()
Network connection type of subscription.
-
carrierId
int carrierId()
AOSP assigned carrier id subscription is registered with.
-
carrierName
String carrierName()
Human-readable name of carrier subscription is registered with.
-
operatorCode
String operatorCode()
MCC-MNC of operator subscription is registered with.
-
operatorName
String operatorName()
Human-readable name of operator subscription is registered with.
-
countryCode
String countryCode()
ISO 3166-1 alpha-2 country code of operator subscription is registered with.
-
networkOperatorCode
String networkOperatorCode()
MCC-MNC of operator subscription is registered with for network operations.
-
networkOperatorName
String networkOperatorName()
Human-readable name of operator subscription is registered with for network operations.
-
networkCountryCode
String networkCountryCode()
ISO 3166-1 alpha-2 country code of operator subscription is registered with for networkoperations.
-
hashCode
int hashCode()
-
-
-
-