/** * <code>optional .hadoop.yarn.YARNDelegationTokenIdentifierProto token_identifier = 1;</code> */ public Builder clearTokenIdentifier() { if (tokenIdentifierBuilder_ == null) { tokenIdentifier_ = org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.getDefaultInstance(); onChanged(); } else { tokenIdentifierBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /**
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasTokenIdentifier()) { hash = (37 * hash) + TOKEN_IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getTokenIdentifier().hashCode(); } if (hasRenewDate()) { hash = (37 * hash) + RENEWDATE_FIELD_NUMBER; hash = (53 * hash) + hashLong(getRenewDate()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = tokenIdentifier_.toBuilder();
tokenProto.writeTo(out);
tokenProto.writeTo(out);
tokenProto.writeTo(out);
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = tokenIdentifier_.toBuilder();
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = tokenIdentifier_.toBuilder();
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = tokenIdentifier_.toBuilder();
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = tokenIdentifier_.toBuilder();
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = tokenIdentifier_.toBuilder();
hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasOwner()) { hash = (37 * hash) + OWNER_FIELD_NUMBER; hash = (53 * hash) + getOwner().hashCode(); if (hasRenewer()) { hash = (37 * hash) + RENEWER_FIELD_NUMBER; hash = (53 * hash) + getRenewer().hashCode(); if (hasRealUser()) { hash = (37 * hash) + REALUSER_FIELD_NUMBER; hash = (53 * hash) + getRealUser().hashCode(); if (hasIssueDate()) { hash = (37 * hash) + ISSUEDATE_FIELD_NUMBER; hash = (53 * hash) + hashLong(getIssueDate()); if (hasMaxDate()) { hash = (37 * hash) + MAXDATE_FIELD_NUMBER; hash = (53 * hash) + hashLong(getMaxDate()); if (hasSequenceNumber()) { hash = (37 * hash) + SEQUENCENUMBER_FIELD_NUMBER; hash = (53 * hash) + getSequenceNumber(); if (hasMasterKeyId()) { hash = (37 * hash) + MASTERKEYID_FIELD_NUMBER; hash = (53 * hash) + getMasterKeyId();
hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasOwner()) { hash = (37 * hash) + OWNER_FIELD_NUMBER; hash = (53 * hash) + getOwner().hashCode(); if (hasRenewer()) { hash = (37 * hash) + RENEWER_FIELD_NUMBER; hash = (53 * hash) + getRenewer().hashCode(); if (hasRealUser()) { hash = (37 * hash) + REALUSER_FIELD_NUMBER; hash = (53 * hash) + getRealUser().hashCode(); if (hasIssueDate()) { hash = (37 * hash) + ISSUEDATE_FIELD_NUMBER; hash = (53 * hash) + hashLong(getIssueDate()); if (hasMaxDate()) { hash = (37 * hash) + MAXDATE_FIELD_NUMBER; hash = (53 * hash) + hashLong(getMaxDate()); if (hasSequenceNumber()) { hash = (37 * hash) + SEQUENCENUMBER_FIELD_NUMBER; hash = (53 * hash) + getSequenceNumber(); if (hasMasterKeyId()) { hash = (37 * hash) + MASTERKEYID_FIELD_NUMBER; hash = (53 * hash) + getMasterKeyId();
public org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto buildPartial() { org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto result = new org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasOwner()) { hash = (37 * hash) + OWNER_FIELD_NUMBER; hash = (53 * hash) + getOwner().hashCode(); if (hasRenewer()) { hash = (37 * hash) + RENEWER_FIELD_NUMBER; hash = (53 * hash) + getRenewer().hashCode(); if (hasRealUser()) { hash = (37 * hash) + REALUSER_FIELD_NUMBER; hash = (53 * hash) + getRealUser().hashCode(); if (hasIssueDate()) { hash = (37 * hash) + ISSUEDATE_FIELD_NUMBER; hash = (53 * hash) + hashLong(getIssueDate()); if (hasMaxDate()) { hash = (37 * hash) + MAXDATE_FIELD_NUMBER; hash = (53 * hash) + hashLong(getMaxDate()); if (hasSequenceNumber()) { hash = (37 * hash) + SEQUENCENUMBER_FIELD_NUMBER; hash = (53 * hash) + getSequenceNumber(); if (hasMasterKeyId()) { hash = (37 * hash) + MASTERKEYID_FIELD_NUMBER; hash = (53 * hash) + getMasterKeyId();
public org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto buildPartial() { org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto result = new org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
public org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto buildPartial() { org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto result = new org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto other) { if (other == org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.getDefaultInstance()) return this; if (other.hasOwner()) { bitField0_ |= 0x00000001; owner_ = other.owner_; onChanged(); if (other.hasRenewer()) { bitField0_ |= 0x00000002; renewer_ = other.renewer_; onChanged(); if (other.hasRealUser()) { bitField0_ |= 0x00000004; realUser_ = other.realUser_; onChanged(); if (other.hasIssueDate()) { setIssueDate(other.getIssueDate()); if (other.hasMaxDate()) { setMaxDate(other.getMaxDate()); if (other.hasSequenceNumber()) { setSequenceNumber(other.getSequenceNumber()); if (other.hasMasterKeyId()) { setMasterKeyId(other.getMasterKeyId()); this.mergeUnknownFields(other.getUnknownFields());
public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto other) { if (other == org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.getDefaultInstance()) return this; if (other.hasOwner()) { bitField0_ |= 0x00000001; owner_ = other.owner_; onChanged(); if (other.hasRenewer()) { bitField0_ |= 0x00000002; renewer_ = other.renewer_; onChanged(); if (other.hasRealUser()) { bitField0_ |= 0x00000004; realUser_ = other.realUser_; onChanged(); if (other.hasIssueDate()) { setIssueDate(other.getIssueDate()); if (other.hasMaxDate()) { setMaxDate(other.getMaxDate()); if (other.hasSequenceNumber()) { setSequenceNumber(other.getSequenceNumber()); if (other.hasMasterKeyId()) { setMasterKeyId(other.getMasterKeyId()); this.mergeUnknownFields(other.getUnknownFields());
public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto other) { if (other == org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.getDefaultInstance()) return this; if (other.hasOwner()) { bitField0_ |= 0x00000001; owner_ = other.owner_; onChanged(); if (other.hasRenewer()) { bitField0_ |= 0x00000002; renewer_ = other.renewer_; onChanged(); if (other.hasRealUser()) { bitField0_ |= 0x00000004; realUser_ = other.realUser_; onChanged(); if (other.hasIssueDate()) { setIssueDate(other.getIssueDate()); if (other.hasMaxDate()) { setMaxDate(other.getMaxDate()); if (other.hasSequenceNumber()) { setSequenceNumber(other.getSequenceNumber()); if (other.hasMasterKeyId()) { setMasterKeyId(other.getMasterKeyId()); this.mergeUnknownFields(other.getUnknownFields());