public Builder mergeFrom(org.apache.pulsar.common.api.proto.PulsarApi.CommandProducerSuccess other) { if (other == org.apache.pulsar.common.api.proto.PulsarApi.CommandProducerSuccess.getDefaultInstance()) return this; if (other.hasRequestId()) { setRequestId(other.getRequestId()); } if (other.hasProducerName()) { setProducerName(other.getProducerName()); } if (other.hasLastSequenceId()) { setLastSequenceId(other.getLastSequenceId()); } if (other.hasSchemaVersion()) { setSchemaVersion(other.getSchemaVersion()); } return this; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasRequestId()) { memoizedIsInitialized = 0; return false; } if (!hasProducerName()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public Builder mergeFrom(org.apache.pulsar.common.api.proto.PulsarApi.CommandProducerSuccess other) { if (other == org.apache.pulsar.common.api.proto.PulsarApi.CommandProducerSuccess.getDefaultInstance()) return this; if (other.hasRequestId()) { setRequestId(other.getRequestId()); } if (other.hasProducerName()) { setProducerName(other.getProducerName()); } if (other.hasLastSequenceId()) { setLastSequenceId(other.getLastSequenceId()); } if (other.hasSchemaVersion()) { setSchemaVersion(other.getSchemaVersion()); } return this; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasRequestId()) { memoizedIsInitialized = 0; return false; } if (!hasProducerName()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }