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_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getMessageBytes()); } 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_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getMessageBytes()); } getUnknownFields().writeTo(output); }
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_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getMessageBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
getUnknownFields().equals(other.getUnknownFields()); return result;
getUnknownFields().equals(other.getUnknownFields()); return result;
getUnknownFields().equals(other.getUnknownFields()); return result;
hash = (53 * hash) + getMessage().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash;
hash = (53 * hash) + getMessage().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash;
getUnknownFields().equals(other.getUnknownFields()); return result;
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_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getMessageBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
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_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getMessageBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
hash = (53 * hash) + getMessage().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash;
hash = (53 * hash) + getMessage().hashCode(); 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_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getMessageBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnSecurityTestTokenProtos.NMTokenIdentifierNewProto other) { if (other == org.apache.hadoop.yarn.proto.YarnSecurityTestTokenProtos.NMTokenIdentifierNewProto.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()); } if (other.hasMessage()) { bitField0_ |= 0x00000010; message_ = other.message_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnSecurityTestTokenProtos.NMTokenIdentifierNewProto other) { if (other == org.apache.hadoop.yarn.proto.YarnSecurityTestTokenProtos.NMTokenIdentifierNewProto.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()); } if (other.hasMessage()) { bitField0_ |= 0x00000010; message_ = other.message_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnSecurityTestTokenProtos.NMTokenIdentifierNewProto other) { if (other == org.apache.hadoop.yarn.proto.YarnSecurityTestTokenProtos.NMTokenIdentifierNewProto.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()); } if (other.hasMessage()) { bitField0_ |= 0x00000010; message_ = other.message_; onChanged(); } 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_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getMessageBytes()); } 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_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getMessageBytes()); } getUnknownFields().writeTo(output); }
public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnSecurityTestTokenProtos.NMTokenIdentifierNewProto other) { if (other == org.apache.hadoop.yarn.proto.YarnSecurityTestTokenProtos.NMTokenIdentifierNewProto.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()); } if (other.hasMessage()) { bitField0_ |= 0x00000010; message_ = other.message_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }