com.craxiom.messaging.PhoneState 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.PhoneState}
*/
public final class PhoneState extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:com.craxiom.messaging.PhoneState)
PhoneStateOrBuilder {
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= */ "",
PhoneState.class.getName());
}
// Use PhoneState.newBuilder() to construct.
private PhoneState(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private PhoneState() {
version_ = "";
messageType_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.craxiom.messaging.PhoneStateOuterClass.internal_static_com_craxiom_messaging_PhoneState_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.craxiom.messaging.PhoneStateOuterClass.internal_static_com_craxiom_messaging_PhoneState_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.craxiom.messaging.PhoneState.class, com.craxiom.messaging.PhoneState.Builder.class);
}
private int bitField0_;
public static final int VERSION_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object version_ = "";
/**
* string version = 1;
* @return The version.
*/
@java.lang.Override
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
version_ = s;
return s;
}
}
/**
* string version = 1;
* @return The bytes for version.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MESSAGETYPE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object messageType_ = "";
/**
* string messageType = 2;
* @return The messageType.
*/
@java.lang.Override
public java.lang.String getMessageType() {
java.lang.Object ref = messageType_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
messageType_ = s;
return s;
}
}
/**
* string messageType = 2;
* @return The bytes for messageType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMessageTypeBytes() {
java.lang.Object ref = messageType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
messageType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATA_FIELD_NUMBER = 3;
private com.craxiom.messaging.PhoneStateData data_;
/**
* .com.craxiom.messaging.PhoneStateData data = 3;
* @return Whether the data field is set.
*/
@java.lang.Override
public boolean hasData() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .com.craxiom.messaging.PhoneStateData data = 3;
* @return The data.
*/
@java.lang.Override
public com.craxiom.messaging.PhoneStateData getData() {
return data_ == null ? com.craxiom.messaging.PhoneStateData.getDefaultInstance() : data_;
}
/**
* .com.craxiom.messaging.PhoneStateData data = 3;
*/
@java.lang.Override
public com.craxiom.messaging.PhoneStateDataOrBuilder getDataOrBuilder() {
return data_ == null ? com.craxiom.messaging.PhoneStateData.getDefaultInstance() : data_;
}
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 (!com.google.protobuf.GeneratedMessage.isStringEmpty(version_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, version_);
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(messageType_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, messageType_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(3, getData());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(version_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, version_);
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(messageType_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, messageType_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getData());
}
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.PhoneState)) {
return super.equals(obj);
}
com.craxiom.messaging.PhoneState other = (com.craxiom.messaging.PhoneState) obj;
if (!getVersion()
.equals(other.getVersion())) return false;
if (!getMessageType()
.equals(other.getMessageType())) return false;
if (hasData() != other.hasData()) return false;
if (hasData()) {
if (!getData()
.equals(other.getData())) 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();
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
hash = (37 * hash) + MESSAGETYPE_FIELD_NUMBER;
hash = (53 * hash) + getMessageType().hashCode();
if (hasData()) {
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getData().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.craxiom.messaging.PhoneState parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.craxiom.messaging.PhoneState 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.PhoneState parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.craxiom.messaging.PhoneState 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.PhoneState parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.craxiom.messaging.PhoneState parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.craxiom.messaging.PhoneState parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static com.craxiom.messaging.PhoneState 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.PhoneState parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static com.craxiom.messaging.PhoneState 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.PhoneState parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static com.craxiom.messaging.PhoneState 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.PhoneState 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.PhoneState}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:com.craxiom.messaging.PhoneState)
com.craxiom.messaging.PhoneStateOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.craxiom.messaging.PhoneStateOuterClass.internal_static_com_craxiom_messaging_PhoneState_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.craxiom.messaging.PhoneStateOuterClass.internal_static_com_craxiom_messaging_PhoneState_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.craxiom.messaging.PhoneState.class, com.craxiom.messaging.PhoneState.Builder.class);
}
// Construct using com.craxiom.messaging.PhoneState.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getDataFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
version_ = "";
messageType_ = "";
data_ = null;
if (dataBuilder_ != null) {
dataBuilder_.dispose();
dataBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.craxiom.messaging.PhoneStateOuterClass.internal_static_com_craxiom_messaging_PhoneState_descriptor;
}
@java.lang.Override
public com.craxiom.messaging.PhoneState getDefaultInstanceForType() {
return com.craxiom.messaging.PhoneState.getDefaultInstance();
}
@java.lang.Override
public com.craxiom.messaging.PhoneState build() {
com.craxiom.messaging.PhoneState result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.craxiom.messaging.PhoneState buildPartial() {
com.craxiom.messaging.PhoneState result = new com.craxiom.messaging.PhoneState(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.craxiom.messaging.PhoneState result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.version_ = version_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.messageType_ = messageType_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000004) != 0)) {
result.data_ = dataBuilder_ == null
? data_
: dataBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.craxiom.messaging.PhoneState) {
return mergeFrom((com.craxiom.messaging.PhoneState)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.craxiom.messaging.PhoneState other) {
if (other == com.craxiom.messaging.PhoneState.getDefaultInstance()) return this;
if (!other.getVersion().isEmpty()) {
version_ = other.version_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getMessageType().isEmpty()) {
messageType_ = other.messageType_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasData()) {
mergeData(other.getData());
}
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: {
version_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
messageType_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getDataFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
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 java.lang.Object version_ = "";
/**
* string version = 1;
* @return The version.
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
version_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string version = 1;
* @return The bytes for version.
*/
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string version = 1;
* @param value The version to set.
* @return This builder for chaining.
*/
public Builder setVersion(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
version_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string version = 1;
* @return This builder for chaining.
*/
public Builder clearVersion() {
version_ = getDefaultInstance().getVersion();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string version = 1;
* @param value The bytes for version to set.
* @return This builder for chaining.
*/
public Builder setVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
version_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object messageType_ = "";
/**
* string messageType = 2;
* @return The messageType.
*/
public java.lang.String getMessageType() {
java.lang.Object ref = messageType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
messageType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string messageType = 2;
* @return The bytes for messageType.
*/
public com.google.protobuf.ByteString
getMessageTypeBytes() {
java.lang.Object ref = messageType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
messageType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string messageType = 2;
* @param value The messageType to set.
* @return This builder for chaining.
*/
public Builder setMessageType(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
messageType_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string messageType = 2;
* @return This builder for chaining.
*/
public Builder clearMessageType() {
messageType_ = getDefaultInstance().getMessageType();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string messageType = 2;
* @param value The bytes for messageType to set.
* @return This builder for chaining.
*/
public Builder setMessageTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
messageType_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private com.craxiom.messaging.PhoneStateData data_;
private com.google.protobuf.SingleFieldBuilder<
com.craxiom.messaging.PhoneStateData, com.craxiom.messaging.PhoneStateData.Builder, com.craxiom.messaging.PhoneStateDataOrBuilder> dataBuilder_;
/**
* .com.craxiom.messaging.PhoneStateData data = 3;
* @return Whether the data field is set.
*/
public boolean hasData() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .com.craxiom.messaging.PhoneStateData data = 3;
* @return The data.
*/
public com.craxiom.messaging.PhoneStateData getData() {
if (dataBuilder_ == null) {
return data_ == null ? com.craxiom.messaging.PhoneStateData.getDefaultInstance() : data_;
} else {
return dataBuilder_.getMessage();
}
}
/**
* .com.craxiom.messaging.PhoneStateData data = 3;
*/
public Builder setData(com.craxiom.messaging.PhoneStateData value) {
if (dataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
} else {
dataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .com.craxiom.messaging.PhoneStateData data = 3;
*/
public Builder setData(
com.craxiom.messaging.PhoneStateData.Builder builderForValue) {
if (dataBuilder_ == null) {
data_ = builderForValue.build();
} else {
dataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .com.craxiom.messaging.PhoneStateData data = 3;
*/
public Builder mergeData(com.craxiom.messaging.PhoneStateData value) {
if (dataBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
data_ != null &&
data_ != com.craxiom.messaging.PhoneStateData.getDefaultInstance()) {
getDataBuilder().mergeFrom(value);
} else {
data_ = value;
}
} else {
dataBuilder_.mergeFrom(value);
}
if (data_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* .com.craxiom.messaging.PhoneStateData data = 3;
*/
public Builder clearData() {
bitField0_ = (bitField0_ & ~0x00000004);
data_ = null;
if (dataBuilder_ != null) {
dataBuilder_.dispose();
dataBuilder_ = null;
}
onChanged();
return this;
}
/**
* .com.craxiom.messaging.PhoneStateData data = 3;
*/
public com.craxiom.messaging.PhoneStateData.Builder getDataBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getDataFieldBuilder().getBuilder();
}
/**
* .com.craxiom.messaging.PhoneStateData data = 3;
*/
public com.craxiom.messaging.PhoneStateDataOrBuilder getDataOrBuilder() {
if (dataBuilder_ != null) {
return dataBuilder_.getMessageOrBuilder();
} else {
return data_ == null ?
com.craxiom.messaging.PhoneStateData.getDefaultInstance() : data_;
}
}
/**
* .com.craxiom.messaging.PhoneStateData data = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
com.craxiom.messaging.PhoneStateData, com.craxiom.messaging.PhoneStateData.Builder, com.craxiom.messaging.PhoneStateDataOrBuilder>
getDataFieldBuilder() {
if (dataBuilder_ == null) {
dataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.craxiom.messaging.PhoneStateData, com.craxiom.messaging.PhoneStateData.Builder, com.craxiom.messaging.PhoneStateDataOrBuilder>(
getData(),
getParentForChildren(),
isClean());
data_ = null;
}
return dataBuilder_;
}
// @@protoc_insertion_point(builder_scope:com.craxiom.messaging.PhoneState)
}
// @@protoc_insertion_point(class_scope:com.craxiom.messaging.PhoneState)
private static final com.craxiom.messaging.PhoneState DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.craxiom.messaging.PhoneState();
}
public static com.craxiom.messaging.PhoneState getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PhoneState 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.PhoneState getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}