public org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto buildPartial() { org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto result = new org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
@Override public boolean equals(Object other) { if (other == null) return false; if (other.getClass().isAssignableFrom(this.getClass())) { return this.getProto().equals(this.getClass().cast(other).getProto()); } return false; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, appAttemptId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, nodeId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getAppSubmitterBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, keyId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto buildPartial() { org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto result = new org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
result = result && (hasAppAttemptId() == other.hasAppAttemptId()); if (hasAppAttemptId()) { result = result && getAppAttemptId() .equals(other.getAppAttemptId()); result = result && (hasNodeId() == other.hasNodeId()); if (hasNodeId()) { result = result && getNodeId() .equals(other.getNodeId()); result = result && (hasAppSubmitter() == other.hasAppSubmitter()); if (hasAppSubmitter()) { result = result && getAppSubmitter() .equals(other.getAppSubmitter()); result = result && (hasKeyId() == other.hasKeyId()); if (hasKeyId()) { result = result && (getKeyId() == other.getKeyId()); getUnknownFields().equals(other.getUnknownFields()); return result;
result = result && (hasAppAttemptId() == other.hasAppAttemptId()); if (hasAppAttemptId()) { result = result && getAppAttemptId() .equals(other.getAppAttemptId()); result = result && (hasNodeId() == other.hasNodeId()); if (hasNodeId()) { result = result && getNodeId() .equals(other.getNodeId()); result = result && (hasAppSubmitter() == other.hasAppSubmitter()); if (hasAppSubmitter()) { result = result && getAppSubmitter() .equals(other.getAppSubmitter()); result = result && (hasKeyId() == other.hasKeyId()); if (hasKeyId()) { result = result && (getKeyId() == other.getKeyId()); getUnknownFields().equals(other.getUnknownFields()); return result;
result = result && (hasAppAttemptId() == other.hasAppAttemptId()); if (hasAppAttemptId()) { result = result && getAppAttemptId() .equals(other.getAppAttemptId()); result = result && (hasNodeId() == other.hasNodeId()); if (hasNodeId()) { result = result && getNodeId() .equals(other.getNodeId()); result = result && (hasAppSubmitter() == other.hasAppSubmitter()); if (hasAppSubmitter()) { result = result && getAppSubmitter() .equals(other.getAppSubmitter()); result = result && (hasKeyId() == other.hasKeyId()); if (hasKeyId()) { result = result && (getKeyId() == other.getKeyId()); getUnknownFields().equals(other.getUnknownFields()); return result;
public org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto buildPartial() { org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto result = new org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasAppAttemptId()) { hash = (37 * hash) + APPATTEMPTID_FIELD_NUMBER; hash = (53 * hash) + getAppAttemptId().hashCode(); } if (hasNodeId()) { hash = (37 * hash) + NODEID_FIELD_NUMBER; hash = (53 * hash) + getNodeId().hashCode(); } if (hasAppSubmitter()) { hash = (37 * hash) + APPSUBMITTER_FIELD_NUMBER; hash = (53 * hash) + getAppSubmitter().hashCode(); } if (hasKeyId()) { hash = (37 * hash) + KEYID_FIELD_NUMBER; hash = (53 * hash) + getKeyId(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasAppAttemptId()) { hash = (37 * hash) + APPATTEMPTID_FIELD_NUMBER; hash = (53 * hash) + getAppAttemptId().hashCode(); } if (hasNodeId()) { hash = (37 * hash) + NODEID_FIELD_NUMBER; hash = (53 * hash) + getNodeId().hashCode(); } if (hasAppSubmitter()) { hash = (37 * hash) + APPSUBMITTER_FIELD_NUMBER; hash = (53 * hash) + getAppSubmitter().hashCode(); } if (hasKeyId()) { hash = (37 * hash) + KEYID_FIELD_NUMBER; hash = (53 * hash) + getKeyId(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, appAttemptId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, nodeId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getAppSubmitterBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, keyId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasAppAttemptId()) { hash = (37 * hash) + APPATTEMPTID_FIELD_NUMBER; hash = (53 * hash) + getAppAttemptId().hashCode(); } if (hasNodeId()) { hash = (37 * hash) + NODEID_FIELD_NUMBER; hash = (53 * hash) + getNodeId().hashCode(); } if (hasAppSubmitter()) { hash = (37 * hash) + APPSUBMITTER_FIELD_NUMBER; hash = (53 * hash) + getAppSubmitter().hashCode(); } if (hasKeyId()) { hash = (37 * hash) + KEYID_FIELD_NUMBER; hash = (53 * hash) + getKeyId(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, appAttemptId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, nodeId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getAppSubmitterBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, keyId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto other) { if (other == org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto.getDefaultInstance()) return this; if (other.hasAppAttemptId()) { mergeAppAttemptId(other.getAppAttemptId()); } if (other.hasNodeId()) { mergeNodeId(other.getNodeId()); } if (other.hasAppSubmitter()) { bitField0_ |= 0x00000004; appSubmitter_ = other.appSubmitter_; onChanged(); } if (other.hasKeyId()) { setKeyId(other.getKeyId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto other) { if (other == org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto.getDefaultInstance()) return this; if (other.hasAppAttemptId()) { mergeAppAttemptId(other.getAppAttemptId()); } if (other.hasNodeId()) { mergeNodeId(other.getNodeId()); } if (other.hasAppSubmitter()) { bitField0_ |= 0x00000004; appSubmitter_ = other.appSubmitter_; onChanged(); } if (other.hasKeyId()) { setKeyId(other.getKeyId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, appAttemptId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, nodeId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getAppSubmitterBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, keyId_); } getUnknownFields().writeTo(output); }
public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto other) { if (other == org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto.getDefaultInstance()) return this; if (other.hasAppAttemptId()) { mergeAppAttemptId(other.getAppAttemptId()); } if (other.hasNodeId()) { mergeNodeId(other.getNodeId()); } if (other.hasAppSubmitter()) { bitField0_ |= 0x00000004; appSubmitter_ = other.appSubmitter_; onChanged(); } if (other.hasKeyId()) { setKeyId(other.getKeyId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, appAttemptId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, nodeId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getAppSubmitterBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, keyId_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, appAttemptId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, nodeId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getAppSubmitterBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, keyId_); } getUnknownFields().writeTo(output); }
public org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto getDefaultInstanceForType() { return org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.NMTokenIdentifierProto.getDefaultInstance(); }