public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.Metric other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.Metric.getDefaultInstance()) return this; if (other.hasMetricType()) { bitField0_ |= 0x00000001; metricType_ = other.metricType_; onChanged(); } if (other.hasMetricId()) { bitField0_ |= 0x00000002; metricId_ = other.metricId_; onChanged(); } if (other.hasMetricField()) { bitField0_ |= 0x00000004; metricField_ = other.metricField_; onChanged(); } if (other.hasMetricValue()) { setMetricValue(other.getMetricValue()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.Metric other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.Metric.getDefaultInstance()) return this; if (other.hasMetricType()) { bitField0_ |= 0x00000001; metricType_ = other.metricType_; onChanged(); } if (other.hasMetricId()) { bitField0_ |= 0x00000002; metricId_ = other.metricId_; onChanged(); } if (other.hasMetricField()) { bitField0_ |= 0x00000004; metricField_ = other.metricField_; onChanged(); } if (other.hasMetricValue()) { setMetricValue(other.getMetricValue()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasMetricType()) { memoizedIsInitialized = 0; return false; } if (!hasMetricId()) { memoizedIsInitialized = 0; return false; } if (!hasMetricField()) { memoizedIsInitialized = 0; return false; } if (!hasMetricValue()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasMetricType()) { memoizedIsInitialized = 0; return false; } if (!hasMetricId()) { memoizedIsInitialized = 0; return false; } if (!hasMetricField()) { memoizedIsInitialized = 0; return false; } if (!hasMetricValue()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }