@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getSubscriptionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscription_); } for (int i = 0; i < ackIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ackIds_.getRaw(i)); } unknownFields.writeTo(output); }
@java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSubscriptionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscription_); } { int dataSize = 0; for (int i = 0; i < ackIds_.size(); i++) { dataSize += computeStringSizeNoTag(ackIds_.getRaw(i)); } size += dataSize; size += 1 * getAckIdsList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getSubscriptionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscription_); } for (int i = 0; i < ackIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ackIds_.getRaw(i)); } unknownFields.writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getSubscriptionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscription_); } for (int i = 0; i < ackIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ackIds_.getRaw(i)); } }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getSubscriptionBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 1, subscription_); } for (int i = 0; i < ackIds_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 2, ackIds_.getRaw(i)); } }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSubscriptionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscription_); } { int dataSize = 0; for (int i = 0; i < ackIds_.size(); i++) { dataSize += computeStringSizeNoTag(ackIds_.getRaw(i)); } size += dataSize; size += 1 * getAckIdsList().size(); } memoizedSize = size; return size; }
@java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSubscriptionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscription_); } { int dataSize = 0; for (int i = 0; i < ackIds_.size(); i++) { dataSize += computeStringSizeNoTag(ackIds_.getRaw(i)); } size += dataSize; size += 1 * getAckIdsList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSubscriptionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, subscription_); } { int dataSize = 0; for (int i = 0; i < ackIds_.size(); i++) { dataSize += computeStringSizeNoTag(ackIds_.getRaw(i)); } size += dataSize; size += 1 * getAckIdsList().size(); } memoizedSize = size; return size; }