com.craxiom.messaging.CellIdentityNr 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'
// 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.CellIdentityNr}
*/
public final class CellIdentityNr extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:com.craxiom.messaging.CellIdentityNr)
CellIdentityNrOrBuilder {
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= */ "",
CellIdentityNr.class.getName());
}
// Use CellIdentityNr.newBuilder() to construct.
private CellIdentityNr(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CellIdentityNr() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.craxiom.messaging.PhoneStateOuterClass.internal_static_com_craxiom_messaging_CellIdentityNr_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.craxiom.messaging.PhoneStateOuterClass.internal_static_com_craxiom_messaging_CellIdentityNr_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.craxiom.messaging.CellIdentityNr.class, com.craxiom.messaging.CellIdentityNr.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 TAC_FIELD_NUMBER = 3;
private com.google.protobuf.Int32Value tac_;
/**
* .google.protobuf.Int32Value tac = 3;
* @return Whether the tac field is set.
*/
@java.lang.Override
public boolean hasTac() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .google.protobuf.Int32Value tac = 3;
* @return The tac.
*/
@java.lang.Override
public com.google.protobuf.Int32Value getTac() {
return tac_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : tac_;
}
/**
* .google.protobuf.Int32Value tac = 3;
*/
@java.lang.Override
public com.google.protobuf.Int32ValueOrBuilder getTacOrBuilder() {
return tac_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : tac_;
}
public static final int NCI_FIELD_NUMBER = 4;
private com.google.protobuf.Int64Value nci_;
/**
* .google.protobuf.Int64Value nci = 4;
* @return Whether the nci field is set.
*/
@java.lang.Override
public boolean hasNci() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .google.protobuf.Int64Value nci = 4;
* @return The nci.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getNci() {
return nci_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : nci_;
}
/**
* .google.protobuf.Int64Value nci = 4;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getNciOrBuilder() {
return nci_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : nci_;
}
public static final int NARFCN_FIELD_NUMBER = 5;
private com.google.protobuf.Int32Value narfcn_;
/**
* .google.protobuf.Int32Value narfcn = 5;
* @return Whether the narfcn field is set.
*/
@java.lang.Override
public boolean hasNarfcn() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* .google.protobuf.Int32Value narfcn = 5;
* @return The narfcn.
*/
@java.lang.Override
public com.google.protobuf.Int32Value getNarfcn() {
return narfcn_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : narfcn_;
}
/**
* .google.protobuf.Int32Value narfcn = 5;
*/
@java.lang.Override
public com.google.protobuf.Int32ValueOrBuilder getNarfcnOrBuilder() {
return narfcn_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : narfcn_;
}
public static final int PCI_FIELD_NUMBER = 6;
private com.google.protobuf.Int32Value pci_;
/**
* .google.protobuf.Int32Value pci = 6;
* @return Whether the pci field is set.
*/
@java.lang.Override
public boolean hasPci() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* .google.protobuf.Int32Value pci = 6;
* @return The pci.
*/
@java.lang.Override
public com.google.protobuf.Int32Value getPci() {
return pci_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : pci_;
}
/**
* .google.protobuf.Int32Value pci = 6;
*/
@java.lang.Override
public com.google.protobuf.Int32ValueOrBuilder getPciOrBuilder() {
return pci_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : pci_;
}
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, getTac());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getNci());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(5, getNarfcn());
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeMessage(6, getPci());
}
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, getTac());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getNci());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getNarfcn());
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getPci());
}
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.CellIdentityNr)) {
return super.equals(obj);
}
com.craxiom.messaging.CellIdentityNr other = (com.craxiom.messaging.CellIdentityNr) 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 (hasTac() != other.hasTac()) return false;
if (hasTac()) {
if (!getTac()
.equals(other.getTac())) return false;
}
if (hasNci() != other.hasNci()) return false;
if (hasNci()) {
if (!getNci()
.equals(other.getNci())) return false;
}
if (hasNarfcn() != other.hasNarfcn()) return false;
if (hasNarfcn()) {
if (!getNarfcn()
.equals(other.getNarfcn())) return false;
}
if (hasPci() != other.hasPci()) return false;
if (hasPci()) {
if (!getPci()
.equals(other.getPci())) 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 (hasTac()) {
hash = (37 * hash) + TAC_FIELD_NUMBER;
hash = (53 * hash) + getTac().hashCode();
}
if (hasNci()) {
hash = (37 * hash) + NCI_FIELD_NUMBER;
hash = (53 * hash) + getNci().hashCode();
}
if (hasNarfcn()) {
hash = (37 * hash) + NARFCN_FIELD_NUMBER;
hash = (53 * hash) + getNarfcn().hashCode();
}
if (hasPci()) {
hash = (37 * hash) + PCI_FIELD_NUMBER;
hash = (53 * hash) + getPci().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.craxiom.messaging.CellIdentityNr parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.craxiom.messaging.CellIdentityNr 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.CellIdentityNr parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.craxiom.messaging.CellIdentityNr 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.CellIdentityNr parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.craxiom.messaging.CellIdentityNr parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.craxiom.messaging.CellIdentityNr parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static com.craxiom.messaging.CellIdentityNr 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.CellIdentityNr parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static com.craxiom.messaging.CellIdentityNr 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.CellIdentityNr parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static com.craxiom.messaging.CellIdentityNr 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.CellIdentityNr 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.CellIdentityNr}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:com.craxiom.messaging.CellIdentityNr)
com.craxiom.messaging.CellIdentityNrOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.craxiom.messaging.PhoneStateOuterClass.internal_static_com_craxiom_messaging_CellIdentityNr_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.craxiom.messaging.PhoneStateOuterClass.internal_static_com_craxiom_messaging_CellIdentityNr_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.craxiom.messaging.CellIdentityNr.class, com.craxiom.messaging.CellIdentityNr.Builder.class);
}
// Construct using com.craxiom.messaging.CellIdentityNr.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();
getTacFieldBuilder();
getNciFieldBuilder();
getNarfcnFieldBuilder();
getPciFieldBuilder();
}
}
@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;
}
tac_ = null;
if (tacBuilder_ != null) {
tacBuilder_.dispose();
tacBuilder_ = null;
}
nci_ = null;
if (nciBuilder_ != null) {
nciBuilder_.dispose();
nciBuilder_ = null;
}
narfcn_ = null;
if (narfcnBuilder_ != null) {
narfcnBuilder_.dispose();
narfcnBuilder_ = null;
}
pci_ = null;
if (pciBuilder_ != null) {
pciBuilder_.dispose();
pciBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.craxiom.messaging.PhoneStateOuterClass.internal_static_com_craxiom_messaging_CellIdentityNr_descriptor;
}
@java.lang.Override
public com.craxiom.messaging.CellIdentityNr getDefaultInstanceForType() {
return com.craxiom.messaging.CellIdentityNr.getDefaultInstance();
}
@java.lang.Override
public com.craxiom.messaging.CellIdentityNr build() {
com.craxiom.messaging.CellIdentityNr result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.craxiom.messaging.CellIdentityNr buildPartial() {
com.craxiom.messaging.CellIdentityNr result = new com.craxiom.messaging.CellIdentityNr(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.craxiom.messaging.CellIdentityNr 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.tac_ = tacBuilder_ == null
? tac_
: tacBuilder_.build();
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.nci_ = nciBuilder_ == null
? nci_
: nciBuilder_.build();
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.narfcn_ = narfcnBuilder_ == null
? narfcn_
: narfcnBuilder_.build();
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.pci_ = pciBuilder_ == null
? pci_
: pciBuilder_.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.CellIdentityNr) {
return mergeFrom((com.craxiom.messaging.CellIdentityNr)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.craxiom.messaging.CellIdentityNr other) {
if (other == com.craxiom.messaging.CellIdentityNr.getDefaultInstance()) return this;
if (other.hasMcc()) {
mergeMcc(other.getMcc());
}
if (other.hasMnc()) {
mergeMnc(other.getMnc());
}
if (other.hasTac()) {
mergeTac(other.getTac());
}
if (other.hasNci()) {
mergeNci(other.getNci());
}
if (other.hasNarfcn()) {
mergeNarfcn(other.getNarfcn());
}
if (other.hasPci()) {
mergePci(other.getPci());
}
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(
getTacFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
input.readMessage(
getNciFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
input.readMessage(
getNarfcnFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
input.readMessage(
getPciFieldBuilder().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 tac_;
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> tacBuilder_;
/**
* .google.protobuf.Int32Value tac = 3;
* @return Whether the tac field is set.
*/
public boolean hasTac() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .google.protobuf.Int32Value tac = 3;
* @return The tac.
*/
public com.google.protobuf.Int32Value getTac() {
if (tacBuilder_ == null) {
return tac_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : tac_;
} else {
return tacBuilder_.getMessage();
}
}
/**
* .google.protobuf.Int32Value tac = 3;
*/
public Builder setTac(com.google.protobuf.Int32Value value) {
if (tacBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tac_ = value;
} else {
tacBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value tac = 3;
*/
public Builder setTac(
com.google.protobuf.Int32Value.Builder builderForValue) {
if (tacBuilder_ == null) {
tac_ = builderForValue.build();
} else {
tacBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value tac = 3;
*/
public Builder mergeTac(com.google.protobuf.Int32Value value) {
if (tacBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
tac_ != null &&
tac_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
getTacBuilder().mergeFrom(value);
} else {
tac_ = value;
}
} else {
tacBuilder_.mergeFrom(value);
}
if (tac_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* .google.protobuf.Int32Value tac = 3;
*/
public Builder clearTac() {
bitField0_ = (bitField0_ & ~0x00000004);
tac_ = null;
if (tacBuilder_ != null) {
tacBuilder_.dispose();
tacBuilder_ = null;
}
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value tac = 3;
*/
public com.google.protobuf.Int32Value.Builder getTacBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getTacFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Int32Value tac = 3;
*/
public com.google.protobuf.Int32ValueOrBuilder getTacOrBuilder() {
if (tacBuilder_ != null) {
return tacBuilder_.getMessageOrBuilder();
} else {
return tac_ == null ?
com.google.protobuf.Int32Value.getDefaultInstance() : tac_;
}
}
/**
* .google.protobuf.Int32Value tac = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>
getTacFieldBuilder() {
if (tacBuilder_ == null) {
tacBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
getTac(),
getParentForChildren(),
isClean());
tac_ = null;
}
return tacBuilder_;
}
private com.google.protobuf.Int64Value nci_;
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> nciBuilder_;
/**
* .google.protobuf.Int64Value nci = 4;
* @return Whether the nci field is set.
*/
public boolean hasNci() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .google.protobuf.Int64Value nci = 4;
* @return The nci.
*/
public com.google.protobuf.Int64Value getNci() {
if (nciBuilder_ == null) {
return nci_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : nci_;
} else {
return nciBuilder_.getMessage();
}
}
/**
* .google.protobuf.Int64Value nci = 4;
*/
public Builder setNci(com.google.protobuf.Int64Value value) {
if (nciBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
nci_ = value;
} else {
nciBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .google.protobuf.Int64Value nci = 4;
*/
public Builder setNci(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (nciBuilder_ == null) {
nci_ = builderForValue.build();
} else {
nciBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .google.protobuf.Int64Value nci = 4;
*/
public Builder mergeNci(com.google.protobuf.Int64Value value) {
if (nciBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
nci_ != null &&
nci_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
getNciBuilder().mergeFrom(value);
} else {
nci_ = value;
}
} else {
nciBuilder_.mergeFrom(value);
}
if (nci_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* .google.protobuf.Int64Value nci = 4;
*/
public Builder clearNci() {
bitField0_ = (bitField0_ & ~0x00000008);
nci_ = null;
if (nciBuilder_ != null) {
nciBuilder_.dispose();
nciBuilder_ = null;
}
onChanged();
return this;
}
/**
* .google.protobuf.Int64Value nci = 4;
*/
public com.google.protobuf.Int64Value.Builder getNciBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getNciFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Int64Value nci = 4;
*/
public com.google.protobuf.Int64ValueOrBuilder getNciOrBuilder() {
if (nciBuilder_ != null) {
return nciBuilder_.getMessageOrBuilder();
} else {
return nci_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : nci_;
}
}
/**
* .google.protobuf.Int64Value nci = 4;
*/
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getNciFieldBuilder() {
if (nciBuilder_ == null) {
nciBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getNci(),
getParentForChildren(),
isClean());
nci_ = null;
}
return nciBuilder_;
}
private com.google.protobuf.Int32Value narfcn_;
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> narfcnBuilder_;
/**
* .google.protobuf.Int32Value narfcn = 5;
* @return Whether the narfcn field is set.
*/
public boolean hasNarfcn() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* .google.protobuf.Int32Value narfcn = 5;
* @return The narfcn.
*/
public com.google.protobuf.Int32Value getNarfcn() {
if (narfcnBuilder_ == null) {
return narfcn_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : narfcn_;
} else {
return narfcnBuilder_.getMessage();
}
}
/**
* .google.protobuf.Int32Value narfcn = 5;
*/
public Builder setNarfcn(com.google.protobuf.Int32Value value) {
if (narfcnBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
narfcn_ = value;
} else {
narfcnBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value narfcn = 5;
*/
public Builder setNarfcn(
com.google.protobuf.Int32Value.Builder builderForValue) {
if (narfcnBuilder_ == null) {
narfcn_ = builderForValue.build();
} else {
narfcnBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value narfcn = 5;
*/
public Builder mergeNarfcn(com.google.protobuf.Int32Value value) {
if (narfcnBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
narfcn_ != null &&
narfcn_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
getNarfcnBuilder().mergeFrom(value);
} else {
narfcn_ = value;
}
} else {
narfcnBuilder_.mergeFrom(value);
}
if (narfcn_ != null) {
bitField0_ |= 0x00000010;
onChanged();
}
return this;
}
/**
* .google.protobuf.Int32Value narfcn = 5;
*/
public Builder clearNarfcn() {
bitField0_ = (bitField0_ & ~0x00000010);
narfcn_ = null;
if (narfcnBuilder_ != null) {
narfcnBuilder_.dispose();
narfcnBuilder_ = null;
}
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value narfcn = 5;
*/
public com.google.protobuf.Int32Value.Builder getNarfcnBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getNarfcnFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Int32Value narfcn = 5;
*/
public com.google.protobuf.Int32ValueOrBuilder getNarfcnOrBuilder() {
if (narfcnBuilder_ != null) {
return narfcnBuilder_.getMessageOrBuilder();
} else {
return narfcn_ == null ?
com.google.protobuf.Int32Value.getDefaultInstance() : narfcn_;
}
}
/**
* .google.protobuf.Int32Value narfcn = 5;
*/
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>
getNarfcnFieldBuilder() {
if (narfcnBuilder_ == null) {
narfcnBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
getNarfcn(),
getParentForChildren(),
isClean());
narfcn_ = null;
}
return narfcnBuilder_;
}
private com.google.protobuf.Int32Value pci_;
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> pciBuilder_;
/**
* .google.protobuf.Int32Value pci = 6;
* @return Whether the pci field is set.
*/
public boolean hasPci() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* .google.protobuf.Int32Value pci = 6;
* @return The pci.
*/
public com.google.protobuf.Int32Value getPci() {
if (pciBuilder_ == null) {
return pci_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : pci_;
} else {
return pciBuilder_.getMessage();
}
}
/**
* .google.protobuf.Int32Value pci = 6;
*/
public Builder setPci(com.google.protobuf.Int32Value value) {
if (pciBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
pci_ = value;
} else {
pciBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value pci = 6;
*/
public Builder setPci(
com.google.protobuf.Int32Value.Builder builderForValue) {
if (pciBuilder_ == null) {
pci_ = builderForValue.build();
} else {
pciBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value pci = 6;
*/
public Builder mergePci(com.google.protobuf.Int32Value value) {
if (pciBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0) &&
pci_ != null &&
pci_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
getPciBuilder().mergeFrom(value);
} else {
pci_ = value;
}
} else {
pciBuilder_.mergeFrom(value);
}
if (pci_ != null) {
bitField0_ |= 0x00000020;
onChanged();
}
return this;
}
/**
* .google.protobuf.Int32Value pci = 6;
*/
public Builder clearPci() {
bitField0_ = (bitField0_ & ~0x00000020);
pci_ = null;
if (pciBuilder_ != null) {
pciBuilder_.dispose();
pciBuilder_ = null;
}
onChanged();
return this;
}
/**
* .google.protobuf.Int32Value pci = 6;
*/
public com.google.protobuf.Int32Value.Builder getPciBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getPciFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Int32Value pci = 6;
*/
public com.google.protobuf.Int32ValueOrBuilder getPciOrBuilder() {
if (pciBuilder_ != null) {
return pciBuilder_.getMessageOrBuilder();
} else {
return pci_ == null ?
com.google.protobuf.Int32Value.getDefaultInstance() : pci_;
}
}
/**
* .google.protobuf.Int32Value pci = 6;
*/
private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>
getPciFieldBuilder() {
if (pciBuilder_ == null) {
pciBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
getPci(),
getParentForChildren(),
isClean());
pci_ = null;
}
return pciBuilder_;
}
// @@protoc_insertion_point(builder_scope:com.craxiom.messaging.CellIdentityNr)
}
// @@protoc_insertion_point(class_scope:com.craxiom.messaging.CellIdentityNr)
private static final com.craxiom.messaging.CellIdentityNr DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.craxiom.messaging.CellIdentityNr();
}
public static com.craxiom.messaging.CellIdentityNr getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CellIdentityNr 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.CellIdentityNr getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}