com.craxiom.messaging.CellIdentityGsm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of network-survey-messaging Show documentation
Show all versions of network-survey-messaging Show documentation
Protobuf and gRPC stubs for sending Wireless Protocol Survey messages'
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: com/craxiom/messaging/phone_state.proto
// Protobuf Java Version: 4.27.3
package com.craxiom.messaging;
/**
* Protobuf type {@code com.craxiom.messaging.CellIdentityGsm}
*/
public final class CellIdentityGsm extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:com.craxiom.messaging.CellIdentityGsm)
CellIdentityGsmOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 3,
/* suffix= */ "",
CellIdentityGsm.class.getName());
}
// Use CellIdentityGsm.newBuilder() to construct.
private CellIdentityGsm(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CellIdentityGsm() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.craxiom.messaging.PhoneStateOuterClass.internal_static_com_craxiom_messaging_CellIdentityGsm_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.craxiom.messaging.PhoneStateOuterClass.internal_static_com_craxiom_messaging_CellIdentityGsm_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.craxiom.messaging.CellIdentityGsm.class, com.craxiom.messaging.CellIdentityGsm.Builder.class);
}
private int bitField0_;
public static final int MCC_FIELD_NUMBER = 1;
private com.google.protobuf.Int32Value mcc_;
/**
* .google.protobuf.Int32Value mcc = 1;
* @return Whether the mcc field is set.
*/
@java.lang.Override
public boolean hasMcc() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .google.protobuf.Int32Value mcc = 1;
* @return The mcc.
*/
@java.lang.Override
public com.google.protobuf.Int32Value getMcc() {
return mcc_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : mcc_;
}
/**
* .google.protobuf.Int32Value mcc = 1;
*/
@java.lang.Override
public com.google.protobuf.Int32ValueOrBuilder getMccOrBuilder() {
return mcc_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : mcc_;
}
public static final int MNC_FIELD_NUMBER = 2;
private com.google.protobuf.Int32Value mnc_;
/**
* .google.protobuf.Int32Value mnc = 2;
* @return Whether the mnc field is set.
*/
@java.lang.Override
public boolean hasMnc() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .google.protobuf.Int32Value mnc = 2;
* @return The mnc.
*/
@java.lang.Override
public com.google.protobuf.Int32Value getMnc() {
return mnc_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : mnc_;
}
/**
* .google.protobuf.Int32Value mnc = 2;
*/
@java.lang.Override
public com.google.protobuf.Int32ValueOrBuilder getMncOrBuilder() {
return mnc_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : mnc_;
}
public static final int LAC_FIELD_NUMBER = 3;
private com.google.protobuf.Int32Value lac_;
/**
* .google.protobuf.Int32Value lac = 3;
* @return Whether the lac field is set.
*/
@java.lang.Override
public boolean hasLac() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .google.protobuf.Int32Value lac = 3;
* @return The lac.
*/
@java.lang.Override
public com.google.protobuf.Int32Value getLac() {
return lac_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : lac_;
}
/**
* .google.protobuf.Int32Value lac = 3;
*/
@java.lang.Override
public com.google.protobuf.Int32ValueOrBuilder getLacOrBuilder() {
return lac_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : lac_;
}
public static final int CI_FIELD_NUMBER = 4;
private com.google.protobuf.Int32Value ci_;
/**
* .google.protobuf.Int32Value ci = 4;
* @return Whether the ci field is set.
*/
@java.lang.Override
public boolean hasCi() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .google.protobuf.Int32Value ci = 4;
* @return The ci.
*/
@java.lang.Override
public com.google.protobuf.Int32Value getCi() {
return ci_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : ci_;
}
/**
* .google.protobuf.Int32Value ci = 4;
*/
@java.lang.Override
public com.google.protobuf.Int32ValueOrBuilder getCiOrBuilder() {
return ci_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : ci_;
}
public static final int ARFCN_FIELD_NUMBER = 5;
private com.google.protobuf.Int32Value arfcn_;
/**
* .google.protobuf.Int32Value arfcn = 5;
* @return Whether the arfcn field is set.
*/
@java.lang.Override
public boolean hasArfcn() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* .google.protobuf.Int32Value arfcn = 5;
* @return The arfcn.
*/
@java.lang.Override
public com.google.protobuf.Int32Value getArfcn() {
return arfcn_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : arfcn_;
}
/**
* .google.protobuf.Int32Value arfcn = 5;
*/
@java.lang.Override
public com.google.protobuf.Int32ValueOrBuilder getArfcnOrBuilder() {
return arfcn_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : arfcn_;
}
public static final int BSIC_FIELD_NUMBER = 6;
private com.google.protobuf.Int32Value bsic_;
/**
* .google.protobuf.Int32Value bsic = 6;
* @return Whether the bsic field is set.
*/
@java.lang.Override
public boolean hasBsic() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* .google.protobuf.Int32Value bsic = 6;
* @return The bsic.
*/
@java.lang.Override
public com.google.protobuf.Int32Value getBsic() {
return bsic_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : bsic_;
}
/**
* .google.protobuf.Int32Value bsic = 6;
*/
@java.lang.Override
public com.google.protobuf.Int32ValueOrBuilder getBsicOrBuilder() {
return bsic_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : bsic_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getMcc());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getMnc());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getLac());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getCi());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(5, getArfcn());
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeMessage(6, getBsic());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getMcc());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getMnc());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getLac());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getCi());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getArfcn());
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getBsic());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.craxiom.messaging.CellIdentityGsm)) {
return super.equals(obj);
}
com.craxiom.messaging.CellIdentityGsm other = (com.craxiom.messaging.CellIdentityGsm) obj;
if (hasMcc() != other.hasMcc()) return false;
if (hasMcc()) {
if (!getMcc()
.equals(other.getMcc())) return false;
}
if (hasMnc() != other.hasMnc()) return false;
if (hasMnc()) {
if (!getMnc()
.equals(other.getMnc())) return false;
}
if (hasLac() != other.hasLac()) return false;
if (hasLac()) {
if (!getLac()
.equals(other.getLac())) return false;
}
if (hasCi() != other.hasCi()) return false;
if (hasCi()) {
if (!getCi()
.equals(other.getCi())) return false;
}
if (hasArfcn() != other.hasArfcn()) return false;
if (hasArfcn()) {
if (!getArfcn()
.equals(other.getArfcn())) return false;
}
if (hasBsic() != other.hasBsic()) return false;
if (hasBsic()) {
if (!getBsic()
.equals(other.getBsic())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasMcc()) {
hash = (37 * hash) + MCC_FIELD_NUMBER;
hash = (53 * hash) + getMcc().hashCode();
}
if (hasMnc()) {
hash = (37 * hash) + MNC_FIELD_NUMBER;
hash = (53 * hash) + getMnc().hashCode();
}
if (hasLac()) {
hash = (37 * hash) + LAC_FIELD_NUMBER;
hash = (53 * hash) + getLac().hashCode();
}
if (hasCi()) {
hash = (37 * hash) + CI_FIELD_NUMBER;
hash = (53 * hash) + getCi().hashCode();
}
if (hasArfcn()) {
hash = (37 * hash) + ARFCN_FIELD_NUMBER;
hash = (53 * hash) + getArfcn().hashCode();
}
if (hasBsic()) {
hash = (37 * hash) + BSIC_FIELD_NUMBER;
hash = (53 * hash) + getBsic().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.craxiom.messaging.CellIdentityGsm parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.craxiom.messaging.CellIdentityGsm parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.craxiom.messaging.CellIdentityGsm parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.craxiom.messaging.CellIdentityGsm parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.craxiom.messaging.CellIdentityGsm parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.craxiom.messaging.CellIdentityGsm parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.craxiom.messaging.CellIdentityGsm parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static com.craxiom.messaging.CellIdentityGsm parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.craxiom.messaging.CellIdentityGsm parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static com.craxiom.messaging.CellIdentityGsm parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.craxiom.messaging.CellIdentityGsm parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static com.craxiom.messaging.CellIdentityGsm parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.craxiom.messaging.CellIdentityGsm prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.craxiom.messaging.CellIdentityGsm}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:com.craxiom.messaging.CellIdentityGsm)
com.craxiom.messaging.CellIdentityGsmOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.craxiom.messaging.PhoneStateOuterClass.internal_static_com_craxiom_messaging_CellIdentityGsm_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.craxiom.messaging.PhoneStateOuterClass.internal_static_com_craxiom_messaging_CellIdentityGsm_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.craxiom.messaging.CellIdentityGsm.class, com.craxiom.messaging.CellIdentityGsm.Builder.class);
}
// Construct using com.craxiom.messaging.CellIdentityGsm.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getMccFieldBuilder();
getMncFieldBuilder();
getLacFieldBuilder();
getCiFieldBuilder();
getArfcnFieldBuilder();
getBsicFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
mcc_ = null;
if (mccBuilder_ != null) {
mccBuilder_.dispose();
mccBuilder_ = null;
}
mnc_ = null;
if (mncBuilder_ != null) {
mncBuilder_.dispose();
mncBuilder_ = null;
}
lac_ = null;
if (lacBuilder_ != null) {
lacBuilder_.dispose();
lacBuilder_ = null;
}
ci_ = null;
if (ciBuilder_ != null) {
ciBuilder_.dispose();
ciBuilder_ = null;
}
arfcn_ = null;
if (arfcnBuilder_ != null) {
arfcnBuilder_.dispose();
arfcnBuilder_ = null;
}
bsic_ = null;
if (bsicBuilder_ != null) {
bsicBuilder_.dispose();
bsicBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.craxiom.messaging.PhoneStateOuterClass.internal_static_com_craxiom_messaging_CellIdentityGsm_descriptor;
}
@java.lang.Override
public com.craxiom.messaging.CellIdentityGsm getDefaultInstanceForType() {
return com.craxiom.messaging.CellIdentityGsm.getDefaultInstance();
}
@java.lang.Override
public com.craxiom.messaging.CellIdentityGsm build() {
com.craxiom.messaging.CellIdentityGsm result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.craxiom.messaging.CellIdentityGsm buildPartial() {
com.craxiom.messaging.CellIdentityGsm result = new com.craxiom.messaging.CellIdentityGsm(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.craxiom.messaging.CellIdentityGsm result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.mcc_ = mccBuilder_ == null
? mcc_
: mccBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.mnc_ = mncBuilder_ == null
? mnc_
: mncBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.lac_ = lacBuilder_ == null
? lac_
: lacBuilder_.build();
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.ci_ = ciBuilder_ == null
? ci_
: ciBuilder_.build();
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.arfcn_ = arfcnBuilder_ == null
? arfcn_
: arfcnBuilder_.build();
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.bsic_ = bsicBuilder_ == null
? bsic_
: bsicBuilder_.build();
to_bitField0_ |= 0x00000020;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.craxiom.messaging.CellIdentityGsm) {
return mergeFrom((com.craxiom.messaging.CellIdentityGsm)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.craxiom.messaging.CellIdentityGsm other) {
if (other == com.craxiom.messaging.CellIdentityGsm.getDefaultInstance()) return this;
if (other.hasMcc()) {
mergeMcc(other.getMcc());
}
if (other.hasMnc()) {
mergeMnc(other.getMnc());
}
if (other.hasLac()) {
mergeLac(other.getLac());
}
if (other.hasCi()) {
mergeCi(other.getCi());
}
if (other.hasArfcn()) {
mergeArfcn(other.getArfcn());
}
if (other.hasBsic()) {
mergeBsic(other.getBsic());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getMccFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getMncFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getLacFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
input.readMessage(
getCiFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
input.readMessage(
getArfcnFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
input.readMessage(
getBsicFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000020;
break;
} // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.Int32Value mcc_;
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> mccBuilder_;
/**
* .google.protobuf.Int32Value mcc = 1;
* @return Whether the mcc field is set.
*/
public boolean hasMcc() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .google.protobuf.Int32Value mcc = 1;
* @return The mcc.
*/
public com.google.protobuf.Int32Value getMcc() {
if (mccBuilder_ == null) {
return mcc_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : mcc_;
} else {
return mccBuilder_.getMessage();
}
}
/**
* .google.protobuf.Int32Value mcc = 1;
*/
public Builder setMcc(com.google.protobuf.Int32Value value) {
if (mccBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
mcc_ = value;
} else {
mccBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value mcc = 1;
*/
public Builder setMcc(
com.google.protobuf.Int32Value.Builder builderForValue) {
if (mccBuilder_ == null) {
mcc_ = builderForValue.build();
} else {
mccBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value mcc = 1;
*/
public Builder mergeMcc(com.google.protobuf.Int32Value value) {
if (mccBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
mcc_ != null &&
mcc_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
getMccBuilder().mergeFrom(value);
} else {
mcc_ = value;
}
} else {
mccBuilder_.mergeFrom(value);
}
if (mcc_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .google.protobuf.Int32Value mcc = 1;
*/
public Builder clearMcc() {
bitField0_ = (bitField0_ & ~0x00000001);
mcc_ = null;
if (mccBuilder_ != null) {
mccBuilder_.dispose();
mccBuilder_ = null;
}
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value mcc = 1;
*/
public com.google.protobuf.Int32Value.Builder getMccBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getMccFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Int32Value mcc = 1;
*/
public com.google.protobuf.Int32ValueOrBuilder getMccOrBuilder() {
if (mccBuilder_ != null) {
return mccBuilder_.getMessageOrBuilder();
} else {
return mcc_ == null ?
com.google.protobuf.Int32Value.getDefaultInstance() : mcc_;
}
}
/**
* .google.protobuf.Int32Value mcc = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>
getMccFieldBuilder() {
if (mccBuilder_ == null) {
mccBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
getMcc(),
getParentForChildren(),
isClean());
mcc_ = null;
}
return mccBuilder_;
}
private com.google.protobuf.Int32Value mnc_;
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> mncBuilder_;
/**
* .google.protobuf.Int32Value mnc = 2;
* @return Whether the mnc field is set.
*/
public boolean hasMnc() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .google.protobuf.Int32Value mnc = 2;
* @return The mnc.
*/
public com.google.protobuf.Int32Value getMnc() {
if (mncBuilder_ == null) {
return mnc_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : mnc_;
} else {
return mncBuilder_.getMessage();
}
}
/**
* .google.protobuf.Int32Value mnc = 2;
*/
public Builder setMnc(com.google.protobuf.Int32Value value) {
if (mncBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
mnc_ = value;
} else {
mncBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value mnc = 2;
*/
public Builder setMnc(
com.google.protobuf.Int32Value.Builder builderForValue) {
if (mncBuilder_ == null) {
mnc_ = builderForValue.build();
} else {
mncBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value mnc = 2;
*/
public Builder mergeMnc(com.google.protobuf.Int32Value value) {
if (mncBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
mnc_ != null &&
mnc_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
getMncBuilder().mergeFrom(value);
} else {
mnc_ = value;
}
} else {
mncBuilder_.mergeFrom(value);
}
if (mnc_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* .google.protobuf.Int32Value mnc = 2;
*/
public Builder clearMnc() {
bitField0_ = (bitField0_ & ~0x00000002);
mnc_ = null;
if (mncBuilder_ != null) {
mncBuilder_.dispose();
mncBuilder_ = null;
}
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value mnc = 2;
*/
public com.google.protobuf.Int32Value.Builder getMncBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getMncFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Int32Value mnc = 2;
*/
public com.google.protobuf.Int32ValueOrBuilder getMncOrBuilder() {
if (mncBuilder_ != null) {
return mncBuilder_.getMessageOrBuilder();
} else {
return mnc_ == null ?
com.google.protobuf.Int32Value.getDefaultInstance() : mnc_;
}
}
/**
* .google.protobuf.Int32Value mnc = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>
getMncFieldBuilder() {
if (mncBuilder_ == null) {
mncBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
getMnc(),
getParentForChildren(),
isClean());
mnc_ = null;
}
return mncBuilder_;
}
private com.google.protobuf.Int32Value lac_;
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> lacBuilder_;
/**
* .google.protobuf.Int32Value lac = 3;
* @return Whether the lac field is set.
*/
public boolean hasLac() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .google.protobuf.Int32Value lac = 3;
* @return The lac.
*/
public com.google.protobuf.Int32Value getLac() {
if (lacBuilder_ == null) {
return lac_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : lac_;
} else {
return lacBuilder_.getMessage();
}
}
/**
* .google.protobuf.Int32Value lac = 3;
*/
public Builder setLac(com.google.protobuf.Int32Value value) {
if (lacBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
lac_ = value;
} else {
lacBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value lac = 3;
*/
public Builder setLac(
com.google.protobuf.Int32Value.Builder builderForValue) {
if (lacBuilder_ == null) {
lac_ = builderForValue.build();
} else {
lacBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value lac = 3;
*/
public Builder mergeLac(com.google.protobuf.Int32Value value) {
if (lacBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
lac_ != null &&
lac_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
getLacBuilder().mergeFrom(value);
} else {
lac_ = value;
}
} else {
lacBuilder_.mergeFrom(value);
}
if (lac_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* .google.protobuf.Int32Value lac = 3;
*/
public Builder clearLac() {
bitField0_ = (bitField0_ & ~0x00000004);
lac_ = null;
if (lacBuilder_ != null) {
lacBuilder_.dispose();
lacBuilder_ = null;
}
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value lac = 3;
*/
public com.google.protobuf.Int32Value.Builder getLacBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getLacFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Int32Value lac = 3;
*/
public com.google.protobuf.Int32ValueOrBuilder getLacOrBuilder() {
if (lacBuilder_ != null) {
return lacBuilder_.getMessageOrBuilder();
} else {
return lac_ == null ?
com.google.protobuf.Int32Value.getDefaultInstance() : lac_;
}
}
/**
* .google.protobuf.Int32Value lac = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>
getLacFieldBuilder() {
if (lacBuilder_ == null) {
lacBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
getLac(),
getParentForChildren(),
isClean());
lac_ = null;
}
return lacBuilder_;
}
private com.google.protobuf.Int32Value ci_;
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> ciBuilder_;
/**
* .google.protobuf.Int32Value ci = 4;
* @return Whether the ci field is set.
*/
public boolean hasCi() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .google.protobuf.Int32Value ci = 4;
* @return The ci.
*/
public com.google.protobuf.Int32Value getCi() {
if (ciBuilder_ == null) {
return ci_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : ci_;
} else {
return ciBuilder_.getMessage();
}
}
/**
* .google.protobuf.Int32Value ci = 4;
*/
public Builder setCi(com.google.protobuf.Int32Value value) {
if (ciBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ci_ = value;
} else {
ciBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value ci = 4;
*/
public Builder setCi(
com.google.protobuf.Int32Value.Builder builderForValue) {
if (ciBuilder_ == null) {
ci_ = builderForValue.build();
} else {
ciBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value ci = 4;
*/
public Builder mergeCi(com.google.protobuf.Int32Value value) {
if (ciBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
ci_ != null &&
ci_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
getCiBuilder().mergeFrom(value);
} else {
ci_ = value;
}
} else {
ciBuilder_.mergeFrom(value);
}
if (ci_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* .google.protobuf.Int32Value ci = 4;
*/
public Builder clearCi() {
bitField0_ = (bitField0_ & ~0x00000008);
ci_ = null;
if (ciBuilder_ != null) {
ciBuilder_.dispose();
ciBuilder_ = null;
}
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value ci = 4;
*/
public com.google.protobuf.Int32Value.Builder getCiBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getCiFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Int32Value ci = 4;
*/
public com.google.protobuf.Int32ValueOrBuilder getCiOrBuilder() {
if (ciBuilder_ != null) {
return ciBuilder_.getMessageOrBuilder();
} else {
return ci_ == null ?
com.google.protobuf.Int32Value.getDefaultInstance() : ci_;
}
}
/**
* .google.protobuf.Int32Value ci = 4;
*/
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>
getCiFieldBuilder() {
if (ciBuilder_ == null) {
ciBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
getCi(),
getParentForChildren(),
isClean());
ci_ = null;
}
return ciBuilder_;
}
private com.google.protobuf.Int32Value arfcn_;
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> arfcnBuilder_;
/**
* .google.protobuf.Int32Value arfcn = 5;
* @return Whether the arfcn field is set.
*/
public boolean hasArfcn() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* .google.protobuf.Int32Value arfcn = 5;
* @return The arfcn.
*/
public com.google.protobuf.Int32Value getArfcn() {
if (arfcnBuilder_ == null) {
return arfcn_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : arfcn_;
} else {
return arfcnBuilder_.getMessage();
}
}
/**
* .google.protobuf.Int32Value arfcn = 5;
*/
public Builder setArfcn(com.google.protobuf.Int32Value value) {
if (arfcnBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
arfcn_ = value;
} else {
arfcnBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value arfcn = 5;
*/
public Builder setArfcn(
com.google.protobuf.Int32Value.Builder builderForValue) {
if (arfcnBuilder_ == null) {
arfcn_ = builderForValue.build();
} else {
arfcnBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value arfcn = 5;
*/
public Builder mergeArfcn(com.google.protobuf.Int32Value value) {
if (arfcnBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
arfcn_ != null &&
arfcn_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
getArfcnBuilder().mergeFrom(value);
} else {
arfcn_ = value;
}
} else {
arfcnBuilder_.mergeFrom(value);
}
if (arfcn_ != null) {
bitField0_ |= 0x00000010;
onChanged();
}
return this;
}
/**
* .google.protobuf.Int32Value arfcn = 5;
*/
public Builder clearArfcn() {
bitField0_ = (bitField0_ & ~0x00000010);
arfcn_ = null;
if (arfcnBuilder_ != null) {
arfcnBuilder_.dispose();
arfcnBuilder_ = null;
}
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value arfcn = 5;
*/
public com.google.protobuf.Int32Value.Builder getArfcnBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getArfcnFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Int32Value arfcn = 5;
*/
public com.google.protobuf.Int32ValueOrBuilder getArfcnOrBuilder() {
if (arfcnBuilder_ != null) {
return arfcnBuilder_.getMessageOrBuilder();
} else {
return arfcn_ == null ?
com.google.protobuf.Int32Value.getDefaultInstance() : arfcn_;
}
}
/**
* .google.protobuf.Int32Value arfcn = 5;
*/
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>
getArfcnFieldBuilder() {
if (arfcnBuilder_ == null) {
arfcnBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
getArfcn(),
getParentForChildren(),
isClean());
arfcn_ = null;
}
return arfcnBuilder_;
}
private com.google.protobuf.Int32Value bsic_;
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> bsicBuilder_;
/**
* .google.protobuf.Int32Value bsic = 6;
* @return Whether the bsic field is set.
*/
public boolean hasBsic() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* .google.protobuf.Int32Value bsic = 6;
* @return The bsic.
*/
public com.google.protobuf.Int32Value getBsic() {
if (bsicBuilder_ == null) {
return bsic_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : bsic_;
} else {
return bsicBuilder_.getMessage();
}
}
/**
* .google.protobuf.Int32Value bsic = 6;
*/
public Builder setBsic(com.google.protobuf.Int32Value value) {
if (bsicBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
bsic_ = value;
} else {
bsicBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value bsic = 6;
*/
public Builder setBsic(
com.google.protobuf.Int32Value.Builder builderForValue) {
if (bsicBuilder_ == null) {
bsic_ = builderForValue.build();
} else {
bsicBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value bsic = 6;
*/
public Builder mergeBsic(com.google.protobuf.Int32Value value) {
if (bsicBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0) &&
bsic_ != null &&
bsic_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
getBsicBuilder().mergeFrom(value);
} else {
bsic_ = value;
}
} else {
bsicBuilder_.mergeFrom(value);
}
if (bsic_ != null) {
bitField0_ |= 0x00000020;
onChanged();
}
return this;
}
/**
* .google.protobuf.Int32Value bsic = 6;
*/
public Builder clearBsic() {
bitField0_ = (bitField0_ & ~0x00000020);
bsic_ = null;
if (bsicBuilder_ != null) {
bsicBuilder_.dispose();
bsicBuilder_ = null;
}
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value bsic = 6;
*/
public com.google.protobuf.Int32Value.Builder getBsicBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getBsicFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Int32Value bsic = 6;
*/
public com.google.protobuf.Int32ValueOrBuilder getBsicOrBuilder() {
if (bsicBuilder_ != null) {
return bsicBuilder_.getMessageOrBuilder();
} else {
return bsic_ == null ?
com.google.protobuf.Int32Value.getDefaultInstance() : bsic_;
}
}
/**
* .google.protobuf.Int32Value bsic = 6;
*/
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>
getBsicFieldBuilder() {
if (bsicBuilder_ == null) {
bsicBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
getBsic(),
getParentForChildren(),
isClean());
bsic_ = null;
}
return bsicBuilder_;
}
// @@protoc_insertion_point(builder_scope:com.craxiom.messaging.CellIdentityGsm)
}
// @@protoc_insertion_point(class_scope:com.craxiom.messaging.CellIdentityGsm)
private static final com.craxiom.messaging.CellIdentityGsm DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.craxiom.messaging.CellIdentityGsm();
}
public static com.craxiom.messaging.CellIdentityGsm getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CellIdentityGsm parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.craxiom.messaging.CellIdentityGsm getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}