@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_); } if (returnImmediately_ != false) { output.writeBool(2, returnImmediately_); } if (maxMessages_ != 0) { output.writeInt32(3, maxMessages_); } 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_); } if (returnImmediately_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, returnImmediately_); } if (maxMessages_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxMessages_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getSubscriptionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscription_); } if (returnImmediately_ != false) { output.writeBool(2, returnImmediately_); } if (maxMessages_ != 0) { output.writeInt32(3, maxMessages_); } }
@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_); } if (returnImmediately_ != false) { output.writeBool(2, returnImmediately_); } if (maxMessages_ != 0) { output.writeInt32(3, maxMessages_); } unknownFields.writeTo(output); }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSubscriptionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscription_); } if (returnImmediately_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, returnImmediately_); } if (maxMessages_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, maxMessages_); } memoizedSize = size; return size; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getSubscriptionBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 1, subscription_); } if (returnImmediately_ != false) { output.writeBool(2, returnImmediately_); } if (maxMessages_ != 0) { output.writeInt32(3, maxMessages_); } }
@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_); } if (returnImmediately_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, returnImmediately_); } if (maxMessages_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxMessages_); } 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_); } if (returnImmediately_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, returnImmediately_); } if (maxMessages_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, maxMessages_); } memoizedSize = size; return size; }