public org.apache.hadoop.mapreduce.v2.proto.MRProtos.CountersProto buildPartial() { org.apache.hadoop.mapreduce.v2.proto.MRProtos.CountersProto result = new org.apache.hadoop.mapreduce.v2.proto.MRProtos.CountersProto(this); int from_bitField0_ = bitField0_; if (counterGroupsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { counterGroups_ = java.util.Collections.unmodifiableList(counterGroups_); bitField0_ = (bitField0_ & ~0x00000001); } result.counterGroups_ = counterGroups_; } else { result.counterGroups_ = counterGroupsBuilder_.build(); } onBuilt(); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getCounterGroupsCount() > 0) { hash = (37 * hash) + COUNTER_GROUPS_FIELD_NUMBER; hash = (53 * hash) + getCounterGroupsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
bitField0_ = (bitField0_ & ~0x00000010); if (countersBuilder_ == null) { counters_ = org.apache.hadoop.mapreduce.v2.proto.MRProtos.CountersProto.getDefaultInstance(); } else { countersBuilder_.clear();
if (hasCounters()) { result = result && getCounters() .equals(other.getCounters());
if (hasCounters()) { result = result && getCounters() .equals(other.getCounters());
if (hasCounters()) { result = result && getCounters() .equals(other.getCounters());
if (hasCounters()) { result = result && getCounters() .equals(other.getCounters());
hash = (53 * hash) + getCounters().hashCode();
hash = (53 * hash) + getCounters().hashCode();
hash = (53 * hash) + getCounters().hashCode();
hash = (53 * hash) + getCounters().hashCode();
hash = (53 * hash) + getCounters().hashCode();
if (hasCounters()) { result = result && getCounters() .equals(other.getCounters());
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; makeExtensionsImmutable();
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; makeExtensionsImmutable();
if (hasCounters()) { result = result && getCounters() .equals(other.getCounters());
if (hasCounters()) { result = result && getCounters() .equals(other.getCounters());
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; makeExtensionsImmutable();
if (hasCounters()) { result = result && getCounters() .equals(other.getCounters());
hash = (53 * hash) + getCounters().hashCode();