public RolePrincipalGrant deepCopy() { return new RolePrincipalGrant(this); }
/** * Performs a deep copy on <i>other</i>. */ public GetPrincipalsInRoleResponse(GetPrincipalsInRoleResponse other) { if (other.isSetPrincipalGrants()) { List<RolePrincipalGrant> __this__principalGrants = new ArrayList<RolePrincipalGrant>(other.principalGrants.size()); for (RolePrincipalGrant other_element : other.principalGrants) { __this__principalGrants.add(new RolePrincipalGrant(other_element)); } this.principalGrants = __this__principalGrants; } }
/** * Performs a deep copy on <i>other</i>. */ public GetRoleGrantsForPrincipalResponse(GetRoleGrantsForPrincipalResponse other) { if (other.isSetPrincipalGrants()) { List<RolePrincipalGrant> __this__principalGrants = new ArrayList<RolePrincipalGrant>(other.principalGrants.size()); for (RolePrincipalGrant other_element : other.principalGrants) { __this__principalGrants.add(new RolePrincipalGrant(other_element)); } this.principalGrants = __this__principalGrants; } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { org.apache.thrift.protocol.TList _list91 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.principalGrants = new ArrayList<RolePrincipalGrant>(_list91.size); RolePrincipalGrant _elem92; for (int _i93 = 0; _i93 < _list91.size; ++_i93) { _elem92 = new RolePrincipalGrant(); _elem92.read(iprot); struct.principalGrants.add(_elem92); } } struct.setPrincipalGrantsIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, GetPrincipalsInRoleResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { org.apache.thrift.protocol.TList _list99 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.principalGrants = new ArrayList<RolePrincipalGrant>(_list99.size); RolePrincipalGrant _elem100; for (int _i101 = 0; _i101 < _list99.size; ++_i101) { _elem100 = new RolePrincipalGrant(); _elem100.read(iprot); struct.principalGrants.add(_elem100); } } struct.setPrincipalGrantsIsSet(true); } }
for (int _i96 = 0; _i96 < _list94.size; ++_i96) _elem95 = new RolePrincipalGrant(); _elem95.read(iprot); struct.principalGrants.add(_elem95);
for (int _i88 = 0; _i88 < _list86.size; ++_i88) _elem87 = new RolePrincipalGrant(); _elem87.read(iprot); struct.principalGrants.add(_elem87);
public RolePrincipalGrant deepCopy() { return new RolePrincipalGrant(this); }
public RolePrincipalGrant deepCopy() { return new RolePrincipalGrant(this); }
public RolePrincipalGrant deepCopy() { return new RolePrincipalGrant(this); }
/** * Performs a deep copy on <i>other</i>. */ public GetPrincipalsInRoleResponse(GetPrincipalsInRoleResponse other) { if (other.isSetPrincipalGrants()) { List<RolePrincipalGrant> __this__principalGrants = new ArrayList<RolePrincipalGrant>(); for (RolePrincipalGrant other_element : other.principalGrants) { __this__principalGrants.add(new RolePrincipalGrant(other_element)); } this.principalGrants = __this__principalGrants; } }
/** * Performs a deep copy on <i>other</i>. */ public GetRoleGrantsForPrincipalResponse(GetRoleGrantsForPrincipalResponse other) { if (other.isSetPrincipalGrants()) { List<RolePrincipalGrant> __this__principalGrants = new ArrayList<RolePrincipalGrant>(); for (RolePrincipalGrant other_element : other.principalGrants) { __this__principalGrants.add(new RolePrincipalGrant(other_element)); } this.principalGrants = __this__principalGrants; } }
/** * Performs a deep copy on <i>other</i>. */ public GetRoleGrantsForPrincipalResponse(GetRoleGrantsForPrincipalResponse other) { if (other.isSetPrincipalGrants()) { List<RolePrincipalGrant> __this__principalGrants = new ArrayList<RolePrincipalGrant>(); for (RolePrincipalGrant other_element : other.principalGrants) { __this__principalGrants.add(new RolePrincipalGrant(other_element)); } this.principalGrants = __this__principalGrants; } }
/** * Performs a deep copy on <i>other</i>. */ public GetPrincipalsInRoleResponse(GetPrincipalsInRoleResponse other) { if (other.isSetPrincipalGrants()) { List<RolePrincipalGrant> __this__principalGrants = new ArrayList<RolePrincipalGrant>(); for (RolePrincipalGrant other_element : other.principalGrants) { __this__principalGrants.add(new RolePrincipalGrant(other_element)); } this.principalGrants = __this__principalGrants; } }
/** * Performs a deep copy on <i>other</i>. */ public GetPrincipalsInRoleResponse(GetPrincipalsInRoleResponse other) { if (other.isSetPrincipalGrants()) { List<RolePrincipalGrant> __this__principalGrants = new ArrayList<RolePrincipalGrant>(other.principalGrants.size()); for (RolePrincipalGrant other_element : other.principalGrants) { __this__principalGrants.add(new RolePrincipalGrant(other_element)); } this.principalGrants = __this__principalGrants; } }
/** * Performs a deep copy on <i>other</i>. */ public GetRoleGrantsForPrincipalResponse(GetRoleGrantsForPrincipalResponse other) { if (other.isSetPrincipalGrants()) { List<RolePrincipalGrant> __this__principalGrants = new ArrayList<RolePrincipalGrant>(other.principalGrants.size()); for (RolePrincipalGrant other_element : other.principalGrants) { __this__principalGrants.add(new RolePrincipalGrant(other_element)); } this.principalGrants = __this__principalGrants; } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, GetPrincipalsInRoleResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { org.apache.thrift.protocol.TList _list91 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.principalGrants = new ArrayList<RolePrincipalGrant>(_list91.size); for (int _i92 = 0; _i92 < _list91.size; ++_i92) { RolePrincipalGrant _elem93; // optional _elem93 = new RolePrincipalGrant(); _elem93.read(iprot); struct.principalGrants.add(_elem93); } } struct.setPrincipalGrantsIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { org.apache.thrift.protocol.TList _list83 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.principalGrants = new ArrayList<RolePrincipalGrant>(_list83.size); RolePrincipalGrant _elem84; for (int _i85 = 0; _i85 < _list83.size; ++_i85) { _elem84 = new RolePrincipalGrant(); _elem84.read(iprot); struct.principalGrants.add(_elem84); } } struct.setPrincipalGrantsIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { org.apache.thrift.protocol.TList _list83 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.principalGrants = new ArrayList<RolePrincipalGrant>(_list83.size); for (int _i84 = 0; _i84 < _list83.size; ++_i84) { RolePrincipalGrant _elem85; // optional _elem85 = new RolePrincipalGrant(); _elem85.read(iprot); struct.principalGrants.add(_elem85); } } struct.setPrincipalGrantsIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { org.apache.thrift.protocol.TList _list83 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.principalGrants = new ArrayList<RolePrincipalGrant>(_list83.size); for (int _i84 = 0; _i84 < _list83.size; ++_i84) { RolePrincipalGrant _elem85; // optional _elem85 = new RolePrincipalGrant(); _elem85.read(iprot); struct.principalGrants.add(_elem85); } } struct.setPrincipalGrantsIsSet(true); } }